On Wed, Jun 4, 2008 at 1:52 PM, Mick Ken <micks80_at_gmail.com> wrote:
> Hi Friends,
> I have a subversion repository and i am controlling the
> access/authorization rules using Apache. Right now,
>
> I have a "svn-acl" file that has projects with read-write permissions like:
> [ProjectName:/]
> @team_project1 = rw
>
> But the problem is, everybody is able to "delete" any folders/files
> etc from the repository using the Tortoise SVN repo-browser. So, I
> would like to know how to control the permissions so that users cannot
> delete anything on the repository and only the Administrator can
> delete folders/ files.
The access control has only two levels: read and write. In order to go into
finer grained access control, you will have to write a pre-commit hook.
There is an example script in the source distribution called svnperms.py (in
tools/hook-scripts directory). You might be able to use that in the
pre-commit hook
>
>
> I would also like to know how the permission levels should be set like
> what's the best way ...
>
> I would really appreciate your input.
>
> Thanks
> Mick
>
Received on 2008-06-05 03:57:04 CEST