AuthenticatingHg » History » Version 5

Chris Cannam, 2010-08-03 07:12 PM

1 2 Chris Cannam
h2. Authentication for Mercurial activity
2 2 Chris Cannam
3 2 Chris Cannam
h3. Requirements
4 2 Chris Cannam
5 2 Chris Cannam
# *Clone/pull from repo for public project*: Any user, no authentication required
6 4 Chris Cannam
# *Clone/pull from repo for private project*: Permitted users only
7 4 Chris Cannam
# *Push to repo for public project*: Permitted users only
8 4 Chris Cannam
# *Push to repo for private project*: Permitted users only
9 4 Chris Cannam
10 4 Chris Cannam
What constitutes a permitted user?
11 4 Chris Cannam
12 4 Chris Cannam
* A user who is a member of the project?
13 4 Chris Cannam
* A user who is identified in the [web] section of the repository?
14 4 Chris Cannam
* A user who is both a member and identified in the [web] section?
15 4 Chris Cannam
* A user who is either a member or identified in the [web] section?
16 4 Chris Cannam
* A user who is identified in the [web] section, if any, or is a member if there is no such section?
17 5 Chris Cannam
18 5 Chris Cannam
h3. Techniques
19 5 Chris Cannam
20 5 Chris Cannam
* Apache authentication against Redmine user database using mod_auth_mysql (no support for LDAP-authenticated users?)
21 5 Chris Cannam
* Apache authentication against Redmine users using the mod_perl module Redmine.pm or a variant thereof (http://redmine.rubyforge.org/svn/trunk/extra/svn/Redmine.pm)?