You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Helge Hess <he...@opengroupware.org> on 2004/08/25 19:44:05 UTC

property based permissions?

Hi,

Subversion already allows to configure access permissions on files 
using mod_authz, which works just fine, but requires administrator 
access.

What I'm looking for are "user-level" permissions which are specified 
inside file properties, like:
   svn propset svn:readacl "donald,mickey" .

Now I think it wouldn't necessarily be required to implement that in 
the Subversion core (is anything like this planned for Svn 2.x?), but 
could be done as a post-commit script which runs a sequence like that:
- on-commit:
   process all changed files
   update a mod_authz configuration file
Of course the script would need to take into account whether the user 
is allowed to change a permission property ;-)

Did someone attempt to do something like this? If so, I would like to 
know ;-)

best regards,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: property based permissions?

Posted by Tor Ringstad <to...@tandberg.net>.
> Did someone attempt to do something like this? If so, I would like
> to know ;-)

No, I haven't tried, but I think it's a good idea.

I would use such a feature to lock tags to ensure nobody accidentally
modified them.

The existing hook-scripts for access control, which people are usually
pointed towards when asking about locking tags, does not solve the
problem well. For one thing, they break down when trying to create
complex tags (mixed revisions, partially switched trees, etc).


- Tor Ringstad -




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org