Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Authz restrict

21 views
Skip to first unread message

Max rz

unread,
Jul 18, 2024, 10:22:54 AM7/18/24
to TortoiseSVN
Hi,
I have authz file like this

  [groups]
admin = (some admins)
 users = (some users) 
 [/]
* = r
@users = rw
@admin = rw
 [/directory]
* = r
@users = rw
@admin = rw

how do I add a special user, that can access only a subdirectory in directory?
I tried something like
 [/directory/subdirectory]
* = r
specialuser = rw
@users = rw
@admin = rw
Or like this


 [/]
* = r
@users = rw
@admin = rw
specialuser = 
 [/directory]
* = r
@users = rw
@admin = rw
specialuser = 
 [/directory/subdirectory]
* = r
specialuser = rw
@users = rw
@admin = rw
But it didnt work. specialuser still can export and change files in directory

Daniel Sahlberg

unread,
Jul 27, 2024, 8:39:33 AM7/27/24
to TortoiseSVN
You will probably get a better answer if you send this question to us...@subversion.apache.org, since it concerns server configuration and not the TortoiseSVN client itself.

Anyway I tried it out and I believe the * = r is granting read access (and the remaining rules are not checked). However specialuser should not be able to commit to anything other than /directory/subdirectory, when I tried it I got the expected error message Access to '/directory' forbidden.

Kind regards,
Daniel
 
Reply all
Reply to author
Forward
0 new messages