Krishna
Krishna

Reputation: 1966

Isolated permissions in GIT

I recently switched from SVN to Git and using gitlib for my code repository. But there is a quick question about it. I have a team those were experts in different modules in the project. All I need is to isolate access of the folders in the projects to each individual. For instance I have the project "Code31" which has the folders Design, HTML and PHP code. I need designer to access only that folder and same with the other ones too.. Please throw some light on this scenario.

Thank you, Kris

Upvotes: 0

Views: 40

Answers (2)

VonC
VonC

Reputation: 1329072

Using gitolite (see "How do programs like gitolite work?"), you can restrict access by folder, using the VREF NAME.

See "advanced access control" for a concrete example.
I present one example also in "gitolite permissoins with branches and folders".

Upvotes: 1

uncletall
uncletall

Reputation: 6842

Use Gerrit Code review. It can give you a fine grained access control over your repository.

Upvotes: 0

Related Questions