[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Using * in AuthzSVNAccessFile file

From: Andrea Antonio Maleci <A.Maleci_at_iwbank.it>
Date: Tue, 25 May 2010 15:08:06 +0200

You can use svnperms.py on pre-commit hook, which allows regular expressions.
You can’t use groups from your svn_access_file: you have to redefine your allowed users and groups on svnperms.conf file.

Hope this helps,
Andrea


From: Sarah George [mailto:sarah.george_at_gmail.com]
Sent: martedì 25 maggio 2010 4.14
To: Johan Corveleyn
Cc: vishwajeet singh; Prakash Velayutham; users_at_subversion.apache.org
Subject: Re: Using * in AuthzSVNAccessFile file


You can’t put in arbitrary wildcards, but you don’t have to specify a repository.

If you use one project per repository (which I highly recommend), then you can just define

[/trunk/passwords]
*=

or similar to set up permissions for the same path in all projects.

— Sarah
Codesion.com



On 21 May 2010 18:05, Johan Corveleyn <jcorvel_at_gmail.com<mailto:jcorvel_at_gmail.com>> wrote:
On Thu, May 20, 2010 at 10:48 PM, vishwajeet singh <dextrous85_at_gmail.com<mailto:dextrous85_at_gmail.com>> wrote:
>
>
> On Fri, May 21, 2010 at 2:16 AM, Prakash Velayutham
> <prakash.velayutham_at_cchmc.org<mailto:prakash.velayutham_at_cchmc.org>> wrote:
>>
>> Hi,
>>
>> Is it possible to use '*' in the path portion of a AuthzSVNAccessFile.
>>
>> Like
>>
>> [repo:/folder1/*/*/bc]
>> @group1 = rw
>> @group2 = r
>> @admin = rw
>>
>> Would this work? In the redbook, it only talks about using '*' for the
>> user/group portion, not the path.
>
>
> Not it would not work.
FYI, there is an (open) enhancement request for this:
http://subversion.tigris.org/issues/show_bug.cgi?id=2662 - authz with wildcards

It seems that several patches were created for this, but for some
reason they were never committed. Maybe someone with interest in this
issue should try to take a look at those patches again, bring them up
on the dev list for review, ...

Cheers,
--
Johan

Received on 2010-05-25 16:55:20 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.