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

Hook scripts -- no support for permissions?

From: Pete Gonzalez <pgonzalez_at_bluel.com>
Date: 2004-07-24 02:36:04 CEST

I would like to prevent certain users from accessing certain
directories in my repository. (Note: we are using "svnserve"
instead of the WebDAV quagmire.) I realize that full ACL
permissions are way off the radar, as Subversion is still
in its infancy. (*) However, I noticed a hook script called
"start-commit" that can be used to implement poor man's
ACL permissions for commits.

I am wondering, how difficult would it be to implement something
similar for *viewing* files in the repository? I.e. is there
any reason we couldn't have a "access-directory" hook script for
other operations such as checkout, view log, etc.? I am a
programmer; I would be willing to code this if someone points me
in the right direction for where to start.

Cheers,
-Pete

___

(*) In particular, I am not asking for ACL permissions to be
added as a feature until the following more critical design
holes have been addressed:

- Non-vaporware support for accessing revisions of a
   moved/renamed file :-)

- Ability to store binary data files in the repository without
   revision histories ("Store only latest version" from SourceSafe)

- Ability to fold old revisions into a single changeset
   ("cvs admin -o" from CVS)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 24 02:36:51 2004

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.