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

nieklinnenbank’s picture

Same 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.

soupp’s picture

Well, 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.

thinkling’s picture

Status: Active » Fixed

Roles/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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.