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

Add $authenticated to group definition

From: Tom Ghyselinck <tom.ghyselinck_at_excentis.com>
Date: Fri, 16 Jan 2015 08:06:41 +0100

Hi,

We are using subversion 1.8.8 (r1568071) server on Ubuntu 14.04.

I need to add "$authenticated" to the group since this is required for
our company generic group definitions.

We created an authz file with group definitions as follows:

        [groups]
        myreaders = $authenticated
        
        [/]
        * =
        
        [/path1]
        $authenticated = r
        
        [/path2]
        @myreaders = r
        
        [/path3]
        # I know, this is actually a user definition
        myreaders = r

It looks like it is not possible or not allowed to add the
"$authenticated" token to a group definition:
- Using it in /path1 is fine (as documented)
- I expect it also to work in /path2, but it's not.

        $ /usr/bin/svnauthz accessof --username=someuser --path=/path1
        ~/test.authz
        r
        
        $ /usr/bin/svnauthz accessof --username=someuser --path=/path2
        ~/test.authz
        no
        
        $ /usr/bin/svnauthz accessof --username=someuser --path=/path3
        ~/test.authz
        no
        
        $ /usr/bin/svnauthz accessof --username=myreaders --path=/path1
        ~/test.authz
        r
        
        $ /usr/bin/svnauthz accessof --username=myreaders --path=/path2
        ~/test.authz
        no
        
        $ /usr/bin/svnauthz accessof --username=myreaders --path=/path3
        ~/test.authz
        # (Here it matches the "user" myreaders)
        r

I couldn't find any documentation whether or not it is possible and/or
allowed.

Can someone confirm if this is expected to work or not?
If not, is there a workaround to add "$authenticated" to a group?

Thank you very much in advance!

With best regards,
Tom.

-- 
________________________________________________________________________
| tom.ghyselinck_at_excentis.com
|
| Tom Ghyselinck
| Senior Engineer
| Excentis N.V.
| Gildestraat 8 B-9000 Ghent, Belgium
| Tel: +32 9 269 22 91 - Fax: +32 9 329 31 74
________________________________________________________________________
Received on 2015-01-16 08:08:33 CET

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.