在版本庫根目錄 D:\DevRepository\Subversion 下創建 commConf 目錄
將未修改的 authz 和 passwd 檔案拷貝到 commConf 目錄下
修改需要設定權限的版本庫的 svnserve.conf 檔案
auth-access = write
password-db = ../../commConf/passwd
authz-db = ../../commConf/authz

在 D:\DevRepository\Subversion\commConf\password 中創建用戶
[users]
# harry = harryssecret
# sally = sallyssecret
userERP = 123456
userOA = 123456
userCRM = 123456
在 D:\DevRepository\Subversion\commConf\authz 中針對不同版本庫為不同用戶授予權限
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r
[ERP:/]
userERP = rw
* =
[OA:/]
userOA = rw
* =
[CRM:/]
userCRM = rw
* =

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/234836.html
標籤:其他
