Author: jbreiding
Description:
i am using:
MediaWiki 1.15.0
PHP 5.2.11 (apache2handler)
MySQL 5.0.87
on a rhel LAMP server.
I am hoping someone has tried this before. my users are authenticated and groups retrieved from ldap, i am using autompromote to map those users to local groups from their ldap groups.
here is my autopromote
$wgAutopromote = array( "bureaucrat" => array("|",array(APCOND_INGROUPS, "be-hro-dev"), array(APCOND_INGROUPS, "be-pun-dev"), array(APCOND_INGROUPS, "div-rd-1"), array(APCOND_INGROUPS,"quickdesign-writers"), array(APCOND_INGROUPS, "div-rd-2")), "reviewer" => array("|",array(APCOND_INGROUPS,"bureaucrat"), array(APCOND_INGROUPS, "sysop")), "editor" => array(APCOND_INGROUPS, "sysop") );
It seems the first autopromote works but the userlist page does not show the user in the group, neither does the userrights page.
in the page source however i do see,
var wgUserGroups = ["div-rd-1", "*", "user", "bureaucrat"];
only the userlist and userrights page i only see the div-rd-1.
also looking through the autompromote code the iterations through this array do not take into account any groups that may get promoted during the loop, only what was assigned to the user at the time the check was run.
any thoughts or suggestions?
Version: 1.15.x
Severity: major
OS: Linux
Platform: Other