0

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

Krishna
  • 1,936
  • 5
  • 22
  • 30
  • This is a very broad topic. As @uncletall's answer suggests, you could use a code review tool like Gerrit. Or a different Git server like Gitolite, which supports [fine-grained permissions](http://gitolite.com/gitolite/rules.html). Or... – ChrisGPT was on strike May 02 '14 at 02:27

2 Answers2

1

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".

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

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

uncletall
  • 6,609
  • 1
  • 27
  • 52