torsdag 18 juli 2024 kl. 16:22:54 UTC+2 skrev Max rz:

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


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
 

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tortoisesvn+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/1ff1ff4d-256b-4b25-8f3e-d49ec8734c38n%40googlegroups.com.
  • Authz restrict Max rz поставщик : TortoiseSVN
    • Re: Authz restrict Daniel Sahlberg via TortoiseSVN

Reply via email to