# Permissions per git repository

2 messages from 2011-11-28 to 2011-11-28. Participants: pcm2a, Jakub Narebski.
Thread: https://gitlist.dev/t/29034

## pcm2a, 2011-11-28 13:38

Subject: Permissions per git repository
Message-ID: <1322487502060-7038724.post@n2.nabble.com>
URL: https://gitlist.dev/e/1322487502060-7038724.post%40n2.nabble.com

```
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, 2011-11-28 17:40

Subject: Re: Permissions per git repository
Message-ID: <m3ty5okuxu.fsf@localhost.localdomain>
URL: https://gitlist.dev/e/m3ty5okuxu.fsf%40localhost.localdomain
In-Reply-To: <1322487502060-7038724.post@n2.nabble.com>

```
pcm2a <cameron@ree-yees.com> writes:

> 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

```
