Tortoise svn Folder restrict to users

别来无恙 提交于 2020-01-16 18:17:51

问题


User Created 3 folders in SVN,in that some people have access to all folders.User created another sub folder from folder1 for that particular sub folder he want authorization.

please help on this.

Regards, Nageswari


回答1:


You would need to include Path-Based Authorization. You can limit permissions to the folder through the authz file. So let's say you have a directory structure such as:

Repo/trunk
|_ Folder1
   |_ Sub-folder  
|_ Folder2
|_ Folder3

You would set your permissions file like this:

[groups]
x-group = Nageswari, Chris
y-group = User3

[Repo:/trunk]
@x-group = rw
@y-group = rw

[Repo:/trunk/Folder1/Sub-folder]
@x-group = 
@y-group = rw

Where the line @x-group = essentially forbids a certain group (or you can specify a user as well) from accessing that directory. (In all honesty, the line underneath that: @y-group = rw is actually redundant because it would inherently receive those permissions for y-group from the trunk.. But for brevity sake you can keep it in).



来源:https://stackoverflow.com/questions/53610645/tortoise-svn-folder-restrict-to-users

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!