SubversionPermission Configuration
V svn repository permission Configuration
?Svnserve. confDefine all authentication and authorization policies
?PasswdStore project member account information
?AuthzMainly for complex group permission Control
In the conf directory under the project repository directory
F First, modify the svnserve. conf file as follows and find the following four lines:
# Anon-access = read
# Auth-access = write
# Password-DB = passwd
# Authz-DB = authz
Remove the "#" sign before the four rows and modify it as follows:
Anon-access = none anonymous users are not allowed to access
Auth-access = users who pass write verification can read and write
Password-DB = passwd the user saves the file
Authz-DB = authz permission management File
F Step 2 Add a row to passwd
User1 = user1passwd (username and password)
User2 = user1pwd
Step 3: perform the following operations on authz:
[Groups]
Svngroup = LTW
[Itcast:/]
@ Svngroup = RW defines that all users in the svngroup have read and write permissions (Note: RW permissions are inherited, for example, if we have set the read and write permissions for the root directory, we also have the read and write permissions for all subdirectories in the root directory)
User1 = r defines that user user1 has read permission
* = Other users have no Permissions
If the permission protection directory is Chinese, you must use the ultraedit tool to transfer the authz file to the UTF-8 without BOM format
Otherwise, the permission does not take effect.