Feature #566
openA possible script or plugin to generate subversion compatible authz permission file?
0%
Description
I have configured the current trunk version of redmine with subversion to be used for our developers/users. Users systems
are synced using pam, nss method outlined in the redmine wiki.
Anonymous users will check out the latest version using http:// protocol. And the developers use SVN+SSH:// to check
out and commit.
However, as many users are using Windows machines and TortoiseSVN, the SVN+SSH:// method does not integrate very well
in TortoiseSVN. You will be asked to enter password a few times in the normal workflow of checkout and commit.
A much nicer way would be to use the Authz permission system along with Apache in the frontend to serve the https:// protocol.
The authz file is quite simple actually, for example:
[project1_team] project1_readonly = bob, bill project1_commit = bob, barry, brett [/] * = [/project1] @project1_readonly = r project1_commit = rw
Certainly, the user list and passwords will be stored in another file for Apache DAV access.
What do you think? Thanks.
Updated by Liang Jin almost 17 years ago
I have written a PHP script to do this right now. And use crontab jobs to update the authz file regularly. However, it would be best to do this in Ruby I guess, since this is a Ruby project.
Updated by Jean-Philippe Lang almost 17 years ago
You can post the php script. I'll see if it's easy to implement it in ruby.
Updated by Toshi MARUYAMA over 13 years ago
- Category changed from SCM to SCM extra