[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: subversion security, everyone can commit, limited to who can delete

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-10-14 18:40:23 CEST

>
>>>
>>> I would like to prevent people from deleting... I tried useing the
>>> LimitExcept Delete in httpd.conf but that made it so people could
>>> not check in or out...
>>>
>>> Thanks
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For
>>> additional commands, e-mail: users-help@subversion.tigris.org
>> Try < Limit Delete> stuff </Limit> rather than LimitExcept.
>> LimitExcept will limit everything BUT the one exception you have
>> spelled out.
>>
> right but what do I put for the users that I do not want the rights to
> delete?
If you want to prevent ANYONE from deleting ANYTHING in the repository,
try this:
  <Limit DELETE>
  </Limit>

If you want to allow only certain users to delete, try this:
  <Limit DELETE>
     require someuser1
   </Limit>

This will have the effect of LIMITing only those items that appear
behind them. Only the user allowed in the REQUIRE directive is going to
be able to delete. In your original example, the only thing anyone
could do was DELETE. No one could GET or PUT.

Regards,
Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 14 18:44:39 2005

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.