Subversion multi-database permission Configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.