0

I want to do authentication for my SVN server through Apache Web Server by mod_dav_svn. Authentication users I want to use MySql since later I want to extend other functions later on.

I've follow this instruction and it's working out correctly and perfect for me SVN Authentication using MySQL

But what happen since I want to define group of user with read-only and other groups read-write permission.

I'm out of ideas so please help me :) .

PS: AuthzSVNAccessFile dynamic editing would take too much of effort :'(

Community
  • 1
  • 1
Van Vu
  • 193
  • 1
  • 8

1 Answers1

0

From what I have read if you are going to use the open source subversion server, your options are limited to modifying the access file as you were hesitant to do.

The issue is mentioned here, although in regards to LDAP auth: https://serverfault.com/questions/188023/webinterface-for-configuring-svn-access-in-mod-dav-svn

My advice is to set up a cron job to automatically generate the auth file on a regular interval.

Community
  • 1
  • 1
JonnyRo
  • 1,844
  • 1
  • 14
  • 20
  • Thanks for answer my question ??? Actually now other ways ??? such as using Limit or LimitExcept ??? – Van Vu Jul 02 '13 at 06:06
  • Perhaps you could provide access to the same repository through two different URLs, one read only and one read/write. The SQL queries used to authorize users for each could be different (and include a group check) – JonnyRo Jul 03 '13 at 18:36