threads / discuss / 29034

Permissions per git repository

Subject: Permissions per git repository

## tl;dr

2 messages between Nov 28, 2011 and Nov 28, 2011.

replies: 1people: 2as markdown or json

pcm2a· Nov 28, 2011, 13:38 UTC · lore

I have a central git repository running on Windows Server 2008 using Apache 2.2 + Smart HTTP + SSPI (for authentication). I can easily limit users to all of the repositories with the 'require' command in apache. This is for all repositories and not just certain ones.

How can I limit user(s) or group(s) to one repository and a different user(s) or group(s) to another repository using git or apache configuration?

-- View this message in context: http://git.661346.n2.nabble.com/Permissions-per-git-repository-tp7038724p7038724.html Sent from the git mailing list archive at Nabble.com.

Jakub Narebski· Nov 28, 2011, 17:40 UTC · re: pcm2a · lore

Re: Permissions per git repository

pcm2a <cameron@ree-yees.com> writes:
Show 7 quoted lines
> I have a central git repository running on Windows Server 2008 using Apache
> 2.2 + Smart HTTP + SSPI (for authentication).  I can easily limit users to
> all of the repositories with the 'require' command in apache. This is for
> all repositories and not just certain ones.
> 
> How can I limit user(s) or group(s) to one repository and a different
> user(s) or group(s) to another repository using git or apache configuration?

If I remember correctly gitolite (a tool to manage access to git repositories) has support for controlling access via smart HTTP.

-- 
Jakub Narębski

← back to recent threads