Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Replacement perl script for access control with apache, mod_dav_svn and mod_perl

Replacement perl script for access control with apache, mod_dav_svn and mod_perl

Added by Deleted user almost 11 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:

  1. Modifying the SQL question to suit the new database format.
  2. Using the new SHA function instead of the old deprecated SHA1.
  3. 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.


Loading...