You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kriparam Faraday <kr...@gmail.com> on 2010/12/02 15:36:57 UTC

wild card support for authz

Hi,
I am not sure if this feature is part of the current 1.6 release. We have
created groups based on their work function(like developers, QA etc...). The
developers get RW access to everything including the documentation folder
and the source folder. The QA group gets RW in the documentation folder but
gets only R access in the source code. This works fine, until someone
decides to branch off or tag something from the trunk. I want to know if we
can use some wildcards to give QA default access into all the documentation
folders. for example:

[<proj_name>:/branches/***/docs]
@dev = rw
@ qa = rw

[<proj_name>:/branches/***/source]
@dev = rw
@ qa = r

Will this work? or are there any other way to implement it?

Thanks,
Kripa

Re: wild card support for authz

Posted by Johan Corveleyn <jc...@gmail.com>.
On Thu, Dec 2, 2010 at 4:43 PM, Andy Levy <an...@gmail.com> wrote:
> On Thu, Dec 2, 2010 at 10:36, Kriparam Faraday <kr...@gmail.com> wrote:
>> Hi,
>> I am not sure if this feature is part of the current 1.6 release. We have
>> created groups based on their work function(like developers, QA etc...). The
>> developers get RW access to everything including the documentation folder
>> and the source folder. The QA group gets RW in the documentation folder but
>> gets only R access in the source code. This works fine, until someone
>> decides to branch off or tag something from the trunk. I want to know if we
>> can use some wildcards to give QA default access into all the documentation
>> folders. for example:
>>
>> [<proj_name>:/branches/*/docs]
>> @dev = rw
>> @ qa = rw
>>
>> [<proj_name>:/branches/*/source]
>> @dev = rw
>> @ qa = r
>>
>> Will this work? or are there any other way to implement it?
>
> Authz does not support wildcards. If you need to restrict write access
> via wildcards, svnperms.py can be installed as a pre-commit hook
> script to provide more control over your access.

You may be interested to know that there is an open feature request
about this in the issue tracker:
http://subversion.tigris.org/issues/show_bug.cgi?id=2662 - authz with wildcards

Cheers,
-- 
Johan

Re: wild card support for authz

Posted by Andy Levy <an...@gmail.com>.
On Thu, Dec 2, 2010 at 10:36, Kriparam Faraday <kr...@gmail.com> wrote:
> Hi,
> I am not sure if this feature is part of the current 1.6 release. We have
> created groups based on their work function(like developers, QA etc...). The
> developers get RW access to everything including the documentation folder
> and the source folder. The QA group gets RW in the documentation folder but
> gets only R access in the source code. This works fine, until someone
> decides to branch off or tag something from the trunk. I want to know if we
> can use some wildcards to give QA default access into all the documentation
> folders. for example:
>
> [<proj_name>:/branches/*/docs]
> @dev = rw
> @ qa = rw
>
> [<proj_name>:/branches/*/source]
> @dev = rw
> @ qa = r
>
> Will this work? or are there any other way to implement it?

Authz does not support wildcards. If you need to restrict write access
via wildcards, svnperms.py can be installed as a pre-commit hook
script to provide more control over your access.