Skip to content

Overwriten gitolite.conf #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
C0vax opened this issue Jan 31, 2015 · 10 comments
Closed

Overwriten gitolite.conf #341

C0vax opened this issue Jan 31, 2015 · 10 comments
Assignees
Labels

Comments

@C0vax
Copy link

C0vax commented Jan 31, 2015

When I change something in the module settings or settings in the project repository, module deletes all non-redmine users in gitolite.conf.

@C0vax
Copy link
Author

C0vax commented Feb 1, 2015

If I change the users redmine project is also deleted from the file gitolite.conf manually added users

@Trim
Copy link

Trim commented Feb 3, 2015

I've seen same result when I want to "remove" repositories by giving read access to only redmine_dummy_key user.

@Trim
Copy link

Trim commented Feb 3, 2015

Ok, if I make same procedure than above and apply "Empty git cache" and "Synchronize all projects" it works.

Although, if I add gitweb user to a repository used by redmine, it's overridden (even if I empty cache and synchronize projects).

@n-rodriguez
Copy link
Contributor

even if I empty cache

Actually Git Cache has nothing to do with this. Git cache is only used to speed up repository browsing in Redmine.

@n-rodriguez
Copy link
Contributor

When I change something in the module settings or settings in the project repository, module deletes all non-redmine users in gitolite.conf.

If you have non Redmine users in gitolite.conf you should put Redmine Gitolite config in a separate file with an include in gitolite.conf.

@n-rodriguez
Copy link
Contributor

Although, if I add gitweb user to a repository used by redmine, it's overridden (even if I empty cache and synchronize projects).

It's normal, Redmine has full control on its own repositories. If you want to enable gitweb for a repository, make the project public and enable SmartHttp. Also Anonymous role must have :browse_repository permissions.

@n-rodriguez
Copy link
Contributor

Hi there!

Can I close the issue?

@Trim
Copy link

Trim commented Feb 26, 2015

Yes for me, that works well if separated redmine config and smarthttp enabled. And for you @C0vax ?

@C0vax
Copy link
Author

C0vax commented Feb 26, 2015

Yes

Îòïðàâëåíî ñ iPhone

26 ôåâð. 2015 ã., â 10:37, Adrien Dorsaz [email protected] íàïèñàë(à):

Yes for me, that works well if separated redmine config and smarthttp enabled. And for you @C0vax ?


Reply to this email directly or view it on GitHub.

@jekel
Copy link

jekel commented Apr 8, 2015

how can i manage access for same repos by both redmine and non-redmine users?
now after my custom gitolite.conf update - its overwritten by redmine_git_hosting plugin
for example, i add
R access only for repo for my custom user,
after this repo section is completely replaced with only redmine users and RW accesses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants