Content
You are here:
Replacement perl script for access control with apache, mod_dav_svn and mod_perl
Added by Deleted user over 10 years ago
The perl script responsible for doing access control with apache and mod_dav_svn found in:
/extra/svn/Redmine.pm
was removed in commit:
40d394bd83bcdc0d802ff10b14a906949243874a
This was due to changes in the database format of OpenProject. Since I was in great need of this functionality I was forced to fix this script. The fix was quite easy and included the following changes to the original script:
- Modifying the SQL question to suit the new database format.
- Using the new SHA function instead of the old deprecated SHA1.
- Since this script now works with OpenProject databases instead of Redmine databases, I decided to rename all functions and the script to OpenProject. (I used a simple Search and Replace)
Note:
I have only tested the script for authentication against the openproject database. I have NOT tested against authentication LDAP, so no guarantees for that.
The new script is attached to this message.