Defect #3330

Redmine.pm broken

Added by Franck Zoccolo over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:2009-05-10
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Permissions and roles
Target version:-
Resolution:Fixed Affected version:

Description

r2726 breaks Apache authentication using Redmine.pm.


Related issues

Related to Redmine - Defect #3340: Redmine.pm doesn't work Closed 2009-05-11

Associated revisions

Revision 2732
Added by Jean-Philippe Lang over 8 years ago

Fixes Redmine.pm broken by r2726 (#3330).

History

#1 Updated by Tim Klein over 8 years ago

temp fix:

change line 147 -> 162 to:

sub RedmineDSN { 
  my ($self, $parms, $arg) = @_;
  $self->{RedmineDSN} = $arg;
  my $query = "SELECT 
                 hashed_password, auth_source_id, permissions
              FROM members, projects, users, roles, member_roles
              WHERE 
                projects.id=members.project_id
        AND member_roles.member_id=members.id
                AND users.id=members.user_id 
                AND roles.id=member_roles.role_id
                AND users.status=1 
                AND login=? 
                AND identifier=? ";
  $self->{RedmineQuery} = trim($query);
}

#2 Updated by Geordee Naliyath over 8 years ago

And restart Apache.

#3 Updated by Igor Olemskoi over 8 years ago

Thank you very much! :-)

#4 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fix committed in r2732. Thanks.

Also available in: Atom PDF