iF.SVNAdmin
iF.SVNAdmin copied to clipboard
How to get the inherited permission when the user hasn't been assigned to a access-path?
How to get the inherited permission when the user hasn't been assigned to a access-path? Especially when a new user was created,what's his/her default permission to all access-path? There should be,right?
For example,I assign user Alice a ‘R-W’ permission to access-path ‘pro:/web’,and then,I create a sub-directory access-path named ‘pro:/web/trunk’ and I have not assigned Alice any permission to it. In fact,Alice get the ‘R-W’ permission to access-path ‘pro:/web/trunk’ which inherited from ‘pro:/web’. And how to get the inherited permission,that's it.
The default permission can be defined by the * user. But i think it is not displayed as inherit permission.
It's usually a good practice to create the root access path "/" and assign no-permission to * user on it. This denies all access over all repositories to everyone by default.
Oh i didn't read your second paragraph. Damn mobile version :P
What to you mean with "how to get the inherited permission?" - Where? Its generally managed by Apache/Subversion.
Thanks a lot for your reply· The userview page only displays user's permission assigned to those access-path,how to display/list the inherited permission, e.g:Alice's ‘R-W’ permission to access-path ‘pro:/web/trunk’ in my example above.
Well, the thing is, that those permissions you are mentioning are implicit and the user-view-page doesn't list implicit permissions. :-|
But that might be a nice feature: Listing and least those implicit sub-directories which does have an explicit Access-Path defined.
Can you tell me some clue to get those implicit sub-directories permission of each user? Thanks for your help· :) You're so kind~
I will take a look into it, whether it's possible to view those information with some sort of a quick-fix.
Responsible function: https://github.com/mfreiholz/iF.SVNAdmin/blob/master/include/ifcorelib/IF_SVNAuthFileC.class.php#L718
Thank you so much.
I had a deeper look and it would require a little bit more efford. So i will move it to V2-Rebuild.
Thanks!
Done in https://github.com/viruscamp/iF.SVNAdmin/tree/visualsvn