RE: Re: subversion security, everyone can commit, limited to who can delete
From: Dale Hirt <dale_at_sbcltd.com>
Date: 2005-10-14 21:50:38 CEST
Does the manager that you report to understand the nature of a version control system? I would think it would be easier to explain it to him than it would be to go through this rigamarole.
Dale
Here is a sample of a configuration that works for me. I added the <Limit...> to show you as a reference.
<Location /code>
# AuthUserFile /code_repos/users.list
This will require that there be a valid user to do anything in the repository. However, the only people allowed to delete anything will be username1 and username2. The read and write access to the repository is controlled within the SVN (mod_authz_svn) module itself, and I use the AuthzSVNAccessFile to set those permissions.
Regards,
---------------------------------------------------------------------
I tried you example above. And it will not allow anyone without delete rights to commit a file. This is because each commit needs to delete a tmp file... so it appears it is not possible to prevent people that have commit rights from getting delete rights.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.