You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sean Kelley <se...@gmail.com> on 2006/08/22 19:28:54 UTC
Re: Better approach for path-based authorization
The path based permissions supported by SVN through Apache leave much
to be desired. It can make it hard to sell Subversion to your company
with a lack of easy to manage permissions control.
I am in the same situation as yourself. It requires a lot of trial
and error to mix and match various groups. Imagine in my case if you
have 100 devs on different teams, which in turn have members split up
working on different projects with different access levels. That gets
really ugly fast.
Sean
On 7/25/06, Alfredo Anderson <al...@hotmail.com> wrote:
>
> Hi, we are faced with the following problem:
>
> We have one repository with multiple projects.
> We have two development teams and a QA Team.
> The development team A has read/write access to all the repository.
> The development team B has read/write access to only one project (and
> doesn't have access to anything else).
> The QA team has read/write access to the directory trunk/doc of every
> project (and doesn't have access to anything else).
>
> Currently our AuthzSVNAccessFile look like this
>
> [/]
> @A = rw
> @B = r # So they can see the list of projects in the repo
> @QA = r # So they can see the list of projects in the repo
>
> # For every project ProjectX there's an entry like the following
> [/ProjectX]
> @B =
> [/ProjectX/branches]
> @QA =
> [/ProjectX/tags]
> @QA =
> [/ProjectX/trunk/design]
> @QA =
> [/ProjectX/trunk/doc]
> @QA = rw
> [/ProjectX/trunk/src]
> @QA =
>
> This solution, cover our needs but
>
> * Implies considerable administrative work (modifying the AuthzSVNAccessFile
> )
> * Our security requirements can be broken (if someone creates a project but
> doesn't modify the AuthzSVNAccessFile the project is accessible by QA and B)
> * With so much typing and the growing size of the AuthzSVNAccessFile is easy
> to mistype something ... giving access to unauthorized places.
>
> Does anyone know a better aproach ?
>
> For example Wildcards to do something like this
>
> [/*]
> @ATG =
> [/*/branches]
> @QA =
> [/*/tags]
> @QA =
> [/*/trunk/design]
> @QA =
> [/*/trunk/doc]
> @QA = rw
> [/*/trunk/src]
> @QA =
>
> Regards
>
>
> ________________________________
> ComunĂcate al instante con Windows Live Messenger Windows Live Messenger
Re: Better approach for path-based authorization
Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Rodrigo Cesar Gevaerd de Faria wrote:
> If I'm not mistaken, I saw somewhere something I think was an
> authorization hook, that allowed for using regexp on the path. It
> would allow you do something like that. I don't remember where I saw
> it though. Maybe someone there in the list has a reference to what
> I'm talking about...
svnperms.py and svnperms.conf are very handy this way.
> Rodrigo.
>
>> On 7/25/06, Alfredo Anderson <al...@hotmail.com> wrote:
>>> (...)
>>> Does anyone know a better aproach ?
>>>
>>> For example Wildcards to do something like this
>>>
>>> [/*]
>>> @ATG =
>>> [/*/branches]
>>> @QA =
>>> [/*/tags]
>>> @QA =
>>> [/*/trunk/design]
>>> @QA =
>>> [/*/trunk/doc]
>>> @QA = rw
>>> [/*/trunk/src]
>>> @QA =
>>>
>>> Regards
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RES: Better approach for path-based authorization
Posted by Rodrigo Cesar Gevaerd de Faria <rc...@lumis.com.br>.
If I'm not mistaken, I saw somewhere something I think was an authorization
hook, that allowed for using regexp on the path. It would allow you do
something like that. I don't remember where I saw it though. Maybe someone
there in the list has a reference to what I'm talking about...
Rodrigo.
> On 7/25/06, Alfredo Anderson <al...@hotmail.com> wrote:
> > (...)
> > Does anyone know a better aproach ?
> >
> > For example Wildcards to do something like this
> >
> > [/*]
> > @ATG =
> > [/*/branches]
> > @QA =
> > [/*/tags]
> > @QA =
> > [/*/trunk/design]
> > @QA =
> > [/*/trunk/doc]
> > @QA = rw
> > [/*/trunk/src]
> > @QA =
> >
> > Regards
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org