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

Re: DB Authentication for SVN

From: S P Vijay <vijay_at_neevtech.com>
Date: 2006-12-12 18:00:58 CET
Hi Ryan
Thanx for the email.
This is the way we are currently following.
We are building a web based system where in a user who gets registered will have SVN permissions appropriate to the group he belongs to.
The disadvantages we foresee are
  • The script to generate the permissions is put in a cron and hence introduces a lag before the user gets SVN access.
  • Once the number of users/groups increases (say 100,000 and more) the script would take a lot of time to generate the file.
Is there any way where in I can call a custom script to check permissions from DB by modifying and regenerating mod_dav_svn or any other module.

Thanx
Vijay

Ryan Schmidt wrote:
On Dec 8, 2006, at 00:12, S P Vijay wrote:

I have been using the AuthzSVNAccessFile option to specify the access permissions for different users and groups.
Just wondering if there is a way to move this scheme into a database (say MySQL) ?

I don't think so. Well, you could certainly create a DB structure, store your permissions there, then create a script that reads this data out of the DB and creates a proper AuthzSVNAccessFile out of it. But I'm not aware of any script already created to do this.


--To reply to the mailing list, please use your mailer's Reply To All function



--

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Tue Dec 12 18:02:53 2006

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