Project

General

Profile

SVN Authorization/Control via Redmine

Added by Trojan Trojanski about 15 years ago

Hi ...

I have working SVN repos configured in Apache.
I installed redmine 0.8.5 with passengers and now I want to manage all SVN repositories via Redmine.
That mean. Users must authorized with same credentials as in redmine. And I should have access to allow/deny users to access example`
Test user have access to wiki,forum and news, but at the same time he/she shouldn't have access to SVN repositories.
Is it possible ?

Thnx


Replies (1)

RE: SVN Authorization/Control via Redmine - Added by Trojan Trojanski about 15 years ago

I'm trying to authorize SVN users via MySQL. I added config in apache (http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl).
Apache config file

        PerlLoadModule Apache::Redmine
        <Location "/project">
                DAV svn
                SVNParentPath "/svn/project" 
                AuthType Basic
                AuthName "project" 
                Require valid-user
                PerlAccessHandler Apache::Authn::Redmine::access_handler
                PerlAuthenHandler Apache::Authn::Redmine::authen_handler
                RedmineDSN "DBI:mysql:database=redmine;host=127.0.0.1" 
                RedmineDbUser "redmine" 
                RedmineDbPass "redmine" 
        </Location>

But can't authorize users. I'm receiving 401 HTTP error.

I'm sure that Apache module can connect to database, because when I'm removing example db password, I'm receiving 500 Internal Server Error.

    (1-1/1)