Closed (fixed)
Project:
Mediawiki auth bridge
Version:
6.x-0.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2009 at 21:42 UTC
Updated:
25 Mar 2010 at 01:20 UTC
I'm having a problem with Drupal 6.14 and MW 1.15 user groups. The groups are not populated from Drupal roles. Anyone had success making it work?
(all settings are done fine in both D6 and MW)
Comments
Comment #1
nieklinnenbank commentedSame issue here, and solved it by commenting the following line in the function loadFromDatabase() in includes/User.php:
//$this->mGroups = null; // deferred
I'm not sure if this is the appropriate solution here tho.
Comment #2
soupp commentedWell, if you are talking about MW core it's totally inappropriate. At least in common sense / drupal terms. The only code modification should go to modules / plugins but not the core. Well, unless the bug admitted or patched by MW ;)
But on general note, I'm horrified by MW coding standards comparing to Drupal.
Comment #3
thinkling commentedRoles/groups support was definitely broken in the AuthDrupal code. It works for me in the new 0.7.1 release which I posted at mediawiki.org.
http://www.mediawiki.org/wiki/Extension:AuthDrupal
Note that I've renamed the Drupal module in my release to match the one here, but I'm only updating the code over there.