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.
--
________________________________________________________________________
| [email protected]
|
| 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
________________________________________________________________________