Re: Folder level Acces in git
- From
- Eugene Sajine <euguess@gmail.com>
- Date
- Nov 3, 2011, 19:28 UTC
- Message-ID
- <CAPZPVFY15AqCpWcRbv0tjXBz4G2kQTm+nMGpsYzCKe0niHV_dA@mail.gmail.com>
- In-Reply-To
- <1320300655224-6958047.post@n2.nabble.com>
On Thu, Nov 3, 2011 at 2:10 AM, redhat1981 <redhat1981@gmail.com> wrote:
Show 24 quoted lines
> Hi, > > I am using Gitosis, Adding the gitosis conf file > > [group testabc] > writable = testabc > members = shrii Abhijeet premkumar > add cgit = yes > gitweb = yes > > > [group testabc-readonly] > readonly = testabc > members = Ganesh Shweta > add cgit = yes > gitweb = yes > > Inside the repository, testabc let us say there are folders folder1, folder > 2 etc, I want some users to have read/write, read or no access to the > folder1 or folder2, Is this possible in Git, I have done it in SVN, Please > help!! > > redhat1981@gmail.com >
Are you sure that the way your have organized the repository is actually correct? If you need to manage the access on folder level why don't you simply split up the project into several repositories/projects which each team is going to work with independently?
This seems to me to be much simpler and cleaner solution then any other alternative.
Thanks, Eugene