작은 오픈 소스 프로젝트를 시작하고 저장소 및 Trac 인스턴스를 이미 실행하고 있습니다. AccountManager 플러그인을 설치했는데 사용자가 계정을 만들고 승격 권한 없이도 티켓을 제출할 수 있기를 원하기 때문에 RegistrationModule을 가지고 있습니다 (누군가가 버그 리포트를 제출하기를 원합니다).Trac 권한 그룹을 사용하여 SVN 쓰기 인증
나는 인증 된 사용자에게만 읽기 액세스와 쓰기 권한을 설정했습니다. 다음은 내 dav_svn.conf 파일의 일부입니다.
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /trac-pages/ocm/htpasswd
# To enable authorization via mod_authz_svn
#AuthzSVNAccessFile /etc/apache2/dav_svn.authz
# The following three lines allow anonymous read, but make
# committers authenticate themselves. It requires the 'authz_user'
# module (enable it with 'a2enmod').
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
그러나 누군가가 Trac의에 RegistrationModule를 사용하여 계정을 생성하면, 그들은 더 권한을 부여하지 않고 저장소에 쓸 수 있습니다. Trac의 "인증 된"그룹에있는 사용자 만 저장소에 커밋 할 수 있도록 만들고 싶습니다.