If a user is part of two roles, one that granted access and one that does not allow repository browsing, and if the user is authenticated through an external LDAP server (e.g. MS AD) the access to the svn repository may fail. This depends on the order the permissions are calculated inside the while loop below.
The is_member function inside the redmine.pm file should be modified as shown below.
... my $ret; while (my ($hashed_password, $salt, $auth_source_id, $permissions) = $sth->fetchrow_array) { ...
should be changed to
... my $ret = 0; while ((my ($hashed_password, $salt, $auth_source_id, $permissions) = $sth->fetchrow_array) and not $ret) { ...
I'm not able to reproduce although I made sure that a role without the permission was returned first. The while loop in Redmine.pm tests all roles so I can't see how it could happen. Can you post the entire code of your sub is_member function in Redmine.pm?