Project

General

Profile

SVN Integration and questions on permissions

Added by Overmind Eternal Will over 15 years ago

Hi, I'm a new user impressed by Redmine. :)

I need help with setting users permission for the SVN server + Redmine.
I've followed the guide for dav_svn + mod_perl here: http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl
I'm using Redmine 0.7.3 version (I wasn't able to install the svn version on ubuntu 7.10)

It seem to work, but how can I grant access to the repository only for some groups of users?
My SVN is opened via http:// to all the world :(
i.e. I need
Managers can write
Reporters can read
Anoymous cannot read

As I've understood I cannot use SVN authz file permission in combination with the perl script redmine.pm, adding

AuthzSVNAccessFile /path/dav_svn.authz

to the vhost location directive.

Thanks in advance.


Replies (6)

RE: SVN Integration and questions on permissions - Added by Nicolas Chuche over 15 years ago

I'm quit sure you can't do that with an access file but this features is included in trunk since r1814

RE: SVN Integration and questions on permissions - Added by Overmind Eternal Will over 15 years ago

Thanks for your response.
I will try (again) to install the svn trunk.

I really don't get how to configure the 0.7.3 for my needs.
Redmine it's asking credential ONLY if the project is set as "private", but I need a public project with anonymous access in one dir, and write access for users from redmine. Unfortunately I don't understand how to obtain it with the stable version 0.7.3

Thanks.

RE: SVN Integration and questions on permissions - Added by Nicolas Chuche over 15 years ago

In 0.7.3, if project if public, redmine ask for password only to write. If project is private, it asks password to read and write.

It's not possible (and seems quit hard to do) to allow anonymous access only for one svn subdir. Even with trunk

RE: SVN Integration and questions on permissions - Added by Overmind Eternal Will over 15 years ago

Thank you very much for the clarification.
I've modified redmine.pm source to ignore the project_is_public flag. Now on svn checkout, redmine asks always for authentication even if the project is public visible.
I've also installed the trunk version to have group access permission.
I'm now satisfied with the current setup.

In the future maybe I'll be able to do a little modification to support the double flag for set private a project OR the SVN access (custom fields?).
In the mean time I hope that this patch for authz integration will be completed: http://www.redmine.org/issues/show/1309

RE: SVN Integration and questions on permissions - Added by Ahammad Fekri about 12 years ago

hi there,
I'm trying to create group wise svn repository access authorisation from Redmine
how should move forward is there any suggetion or help.... .... ....

    (1-6/6)