プロジェクト

全般

プロフィール

Vote #62563

未完了

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

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM extra_46
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
46
version_id:
0
issue_org_id:
566
author_id:
262
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.


journals

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.
--------------------------------------------------------------------------------
You can post the php script. I'll see if it's easy to implement it in ruby.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリSCM extra_46 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0