Project

General

Profile

Actions

Feature #566

open

A possible script or plugin to generate subversion compatible authz permission file?

Added by Liang Jin about 16 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM extra
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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.

Actions #1

Updated by Liang Jin about 16 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.

Actions #2

Updated by Jean-Philippe Lang about 16 years ago

You can post the php script. I'll see if it's easy to implement it in ruby.

Actions #3

Updated by Toshi MARUYAMA almost 13 years ago

  • Category set to SCM
Actions #4

Updated by Toshi MARUYAMA almost 13 years ago

  • Category changed from SCM to SCM extra
Actions

Also available in: Atom PDF