# git repo vs project level authorization

4 messages from 2016-12-05 to 2016-12-07. Participants: ken edward, Fredrik Gustafsson, Junio C Hamano, Sitaram Chamarty.
Thread: https://gitlist.dev/t/44626

## ken edward, 2016-12-05 20:33

Subject: git repo vs project level authorization
Message-ID: <CAAqgmoO+7cLZHpX61=Mh7PjqrCUc0qyFD=C+sjVat_+KPhisbw@mail.gmail.com>
URL: https://gitlist.dev/e/CAAqgmoO%2B7cLZHpX61%3DMh7PjqrCUc0qyFD%3DC%2BsjVat_%2BKPhisbw%40mail.gmail.com

```
I am currently using svn with apache+mod_dav_svn to have a single
repository with multiple projects. Each of the projects is controlled
by an access control file that lists the project path and the allowed
usernames.

Does git have this also? where is the doc?

Ken

```

## Fredrik Gustafsson, 2016-12-05 22:04

Subject: Re: git repo vs project level authorization
Message-ID: <20161205220444.GB12249@paksenarrion.iveqy.com>
URL: https://gitlist.dev/e/20161205220444.GB12249%40paksenarrion.iveqy.com
In-Reply-To: <CAAqgmoO+7cLZHpX61=Mh7PjqrCUc0qyFD=C+sjVat_+KPhisbw@mail.gmail.com>

```
On Mon, Dec 05, 2016 at 03:33:51PM -0500, ken edward wrote:
> I am currently using svn with apache+mod_dav_svn to have a single
> repository with multiple projects. Each of the projects is controlled
> by an access control file that lists the project path and the allowed
> usernames.
> 
> Does git have this also? where is the doc?
> 
> Ken

Git does not do hosting or access control. For this you need to use a
third party program. There are plenty of options for you and each has
different features and limitations. For example you should take a look
at gitolite, gitlab, bitbucket, github, gogs. Just to mention a few.
It's also possible to setup git with ssh or http/https with your own
access control methods. See the progit book for details here.

-- 
Fredrik Gustafsson

phone: +46 733-608274
e-mail: iveqy@iveqy.com
website: http://www.iveqy.com

```

## Junio C Hamano, 2016-12-05 21:59

Subject: Re: git repo vs project level authorization
Message-ID: <xmqqvauy2g19.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqvauy2g19.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <CAAqgmoO+7cLZHpX61=Mh7PjqrCUc0qyFD=C+sjVat_+KPhisbw@mail.gmail.com>

```
ken edward <kedward777@gmail.com> writes:

> I am currently using svn with apache+mod_dav_svn to have a single
> repository with multiple projects. Each of the projects is controlled
> by an access control file that lists the project path and the allowed
> usernames.
>
> Does git have this also? where is the doc?

It is customary not to mix unrelated projects into a single
repository in the Git land.  Some hosting solutions give access
control per branches, and some others give access control per
repositories.

```

## Sitaram Chamarty, 2016-12-07 15:48

Subject: Re: git repo vs project level authorization
Message-ID: <20161207154843.GB24934@sita-lt.atc.tcs.com>
URL: https://gitlist.dev/e/20161207154843.GB24934%40sita-lt.atc.tcs.com
In-Reply-To: <20161205220444.GB12249@paksenarrion.iveqy.com>

```
Ken,

On Mon, Dec 05, 2016 at 11:04:44PM +0100, Fredrik Gustafsson wrote:
> On Mon, Dec 05, 2016 at 03:33:51PM -0500, ken edward wrote:
> > I am currently using svn with apache+mod_dav_svn to have a single
> > repository with multiple projects. Each of the projects is controlled
> > by an access control file that lists the project path and the allowed
> > usernames.
> > 
> > Does git have this also? where is the doc?
> > 
> > Ken
> 
> Git does not do hosting or access control. For this you need to use a
> third party program. There are plenty of options for you and each has
> different features and limitations. For example you should take a look
> at gitolite, gitlab, bitbucket, github, gogs. Just to mention a few.
> It's also possible to setup git with ssh or http/https with your own
> access control methods. See the progit book for details here.

For some reason I did not see your email so I am responding to
Fredrik's.

If your current system is an access control file, gitolite may
be the closest "in spirit" to what you have;

The others that Fredrik mentioned are all much more GUI (and all
of them have additional features like issue tracking, code
reiew, etc.) If you need a more github-like experience, try
those out.

Gitolite does *only* access control, nothing else, but within
that limited scope it's pretty powerful.  The simplest/quickest
overview is probably this:

    http://gitolite.com/gitolite/overview.html#basic-use-case

regards
sitaram

```
