Feature #3875


Fully integration Redmine-SVN (as Gforge-CVS)

Added by Bruno Prado almost 15 years ago. Updated over 13 years ago.

SCM extra
Target version:
Start date:
Due date:
% Done:


Estimated time:


In my company we implemented the integreation Redmine-SVN this way:
Redmine can read SVN (default);
User accesses Redmine via LDAP;
Users added to projects via Redmine (default);
Permissions of checkout/commit in SVN varying accordinly to if the project in Redmine is public/private (default);
Access to SVN verified via Apache - it looks for the entries in Redmine DB if the user is a member of the project, then can checkout/commit, using login/password from LDAP.

But this integration is very simple: if the project is public, anyone can make checkout but only users added to the project can commit. If the project is private, only members of the project can checkout/commit.
It would help if the access to the DB was totally controled by Redmine: using roles, we could define which type of access each member has in the repository (viwer, only checkout, only commit, free access, etc).

As comparison, Gforge does this integration with CVS.

Actions #1

Updated by Thimios Dimopulos almost 15 years ago

I am in the process of implementing the same setup. I was hoping that i would be able to configure subversion access to be controlled according to the roles defined in redmine.

Bruno Prado's feature request suggests that this is not possible. Could someone confirm that?

I already have integrated ldap authentication in redmine. Does it make a difference regarding the granularity of subversion access control?

Actions #2

Updated by Bruno Prado almost 15 years ago

Actually, LDAP doesn't do anything further than authentication. All the authentication process can remain as it is. Explaning better my request, is something like this: depending on the access level (or role) a user has in Redmine, Redmine allows or denyes some SVN interations. For example, a viewer in Redmine cannot commit changes in SVN.

Actions #3

Updated by Arnaud Martel almost 15 years ago

I don't know if it a acceptable solution for you but take a look at this patch
You will be able to control read and write access to subversion using REDMINE permissions (and roles).

If you need more, you can modify it to control authorization to all HTTP methods used by subversion (OPTIONS, PROPFIND, GET, REPORT, MKACTIVITY, PROPPATCH, PUT, CHECKOUT, MKCOL, MOVE, COPY, DELETE, LOCK, UNLOCK, and MERGE)...

Actions #4

Updated by Bruno Prado almost 15 years ago

Thanks, Arnaud. I'll test it as soon as possible and write down here if it solves my problem or not.

Thanks for all.

Actions #5

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to SCM extra

Also available in: Atom PDF