Project

General

Profile

Actions

Feature #2647

open

Repository browsing shall respect ACLs in repository

Added by Mathias Kühn almost 16 years ago. Updated over 9 years ago.

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

0%

Estimated time:
Resolution:

Description

The current implementation of the repository browser connects to a repository using a provided login and password. In our company we're running subversion with .authz access control where we nut just limit write access but also hide complete trees in the repository from some users.

Since the repository browser does not change to the appropriate user account, we must either us a very low
privileged user account to allow browsing, or we allow free read access for all registered members of the
project.

We implemented a simple solution that extends the repository settings (so far only for subversion) with a checkbox that enables logon using the currently logged in user. Since we don't have the credentials at that
point, we're using a separate vhost on the server that 'authenticates' users by just grabbing their login and ignoring their credentials. If no user is logged in, the provided user account is taken from the repository settings. This solution works very nicely, still it may need some tweaks. We're considering to have an additional token along with that setting that would be sent as password to close that theoretical breach.

If anyone is interested in that solution, please let me know. The described solution was done against trunk @ rev 2335.


Files

repository_auth.patch (9.51 KB) repository_auth.patch Patch against trunk version 2361 Mathias Kühn, 2009-02-05 18:44
repository_auth.7077.patch (11.3 KB) repository_auth.7077.patch Robert Rath, 2011-09-10 04:20
redmine-1.3-9291_repository_auth.patch (13.3 KB) redmine-1.3-9291_repository_auth.patch Updated Apache authz patch for stable-1.3. Robert Rath, 2012-04-01 13:04
redmine-2.3-12119_repository_auth.patch (13 KB) redmine-2.3-12119_repository_auth.patch Updated Apache authz patch for stable-2.3 Robert Rath, 2013-09-03 07:44
redmine-2.3-12119_repository_auth-2.patch (14 KB) redmine-2.3-12119_repository_auth-2.patch Robert Rath, 2013-09-04 06:24
svnpatch251_v3.patch (13.7 KB) svnpatch251_v3.patch Daniel Hger, 2014-10-13 13:37

Related issues

Related to Redmine - Defect #13484: restricted access folder in a redmine projectNew

Actions
Actions

Also available in: Atom PDF