Re: Git and securing a repository
From: David Symonds <hidden>
Date: 2016-06-15 22:44:02
On Jan 2, 2008 9:04 PM, Gonzalo Garramuño [off-list ref] wrote:
Felipe Balbi wrote:quoted
it's easy on the full repository case, create different groups and share git repositories by groups, after that chmod o-rwx -R /path/to/repository.git.Thanks. I'll admit what you describe is somewhat discouraging, as what you are just describing is just managing user accounts or groups on the underlying OS. That does not extend well to placing code on the net and has a bunch of administrative headaches. I was really looking for a permission based system that was part of git itself (and thus more portable and easier to admin), and not the OS. Something akin to what perforce or even CVS can do.
You can do arbitrarily-fine-grained authentication via the pre-receive hook. Dave.