The Subversion is really easy to use and has powerful functions. After several days, the permissions of multiple databases are finally completed.
I am using an Apache Web Server. The client is tortoise1.4.3.
The installation method is not described here. There are many configuration processes written by subversion experts on the Internet!
The main configuration of the Apache conf file is as follows:
D:/SVN/CONF/svn_auth_passwd is my User Password File
D:/SVN/CONF/role. Access Group configuration file
<Location/SVN>
Dav SVN
Svnlistparentpath on
Svnparentpath "D:/SVN"
# Sslrequiressl
Authtype basic
Authname "Login subversion"
Authuserfile "D:/SVN/CONF/svn_auth_passwd"
Authzsvnaccessfile "D:/SVN/CONF/role. Access"
<Limitaskt get PROPFIND Options Report>
Require valid-user
</Limit10000t>
</Location>
The configuration file of the permission group is as follows. From the file, we can see that I have created two libraries (project1 and project2 ).
Function: adminproject1 can read and write project1, only project2 can be read,
Adminproject2 can read and write project2 and can only read project1. If you do not want to grant the permission to each other,
Remove [/] @ guestgroup = r dangerman =
(If there are two users, adminproject1 and adminproject2, I will not write the User Creation commands. Google it online)
[Groups]
Admingroupproject1 = adminproject1
Admingroupproject2 = adminproject2
Guestgroup = adminproject1, adminproject2
[/]
@ Guestgroup = r
Dangerman =
[Project1:/]
@ Admingroupproject1 = RW
[Project2:/]
@ Admingroupproject2 = RW