@ Stefan Bailey
To complete your answer, you can also delegate user rights to the project manager through a plain text file in your repository.
To do this, you configure your SVN database with a default authz file containing the following:
[groups] svnadmins = xxx,yyy,.... [/] @svnadmins = rw * = r [/admin] @svnadmins = rw @projadmins = r * = [/admin/acl_descriptions.txt] @projadmins = rw
This authz file authz default authz SVN administrators to modify the visible text file in your SVN repository, called /admin/acl_description.txt , in which SVN administrators or project managers will modify and register users.
Then you set up a pre-commit hook that will determine if the revision consists of this file (and only this file).
If so, this script hook checks the contents of your plain text file and checks to see if each line matches the SVN syntax.
Then the trap after fixing the \conf\authz file \conf\authz with the union :
authz file above- plain text file
/admin/acl_descriptions.txt
The first iteration is performed by the SVN administrator, who adds:
[groups] projadmins = zzzz
It commits its modification and updates the authz file.
The zzzz project manager can then add, delete, or declare any user group and any users he wants. It commits the file and the authz file authz updated.
Thus, the SVN administrator does not need to individually manage all users of all SVN repositories .
VonC Sep 17 '08 at 13:49 2008-09-17 13:49
source share