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

Re: ACLs via external hooks

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-06-13 00:42:09 CEST

Rajko Albrecht <ral@alwins-world.de> writes:
> inside a larger project with quite dynamics access rights (yes, true)
> I would like to check the access rights (and logins?) against external
> sources.
>
> Eg., just like a "pre-commit" - hook but for reading, too. Or may I
> insert something into the configuration which will do that?
>
> And yes - the documented dir-based ACLs will not work 'cause its too
> much. External source means, I may ask a server has_rights(user,path)
> and will return yes/no or exit 0/exit 1 or similar. For pre-commit it
> would work.
>
> Is this possible?

No, unfortunately. Subversion doesn't have any read hooks, only write
hooks. However, you may be interested in

   http://svn.collab.net/repos/svn/trunk/notes/sasl.txt

That won't help you get dynamism in path authorization, but at least
you can get some authentication flexibility.

Best,
-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 13 00:42:34 2007

This is an archived mail posted to the Subversion Users mailing list.