Last modified: 2008-09-14 19:01:10 UTC
This will allow sysops on Meta to give themselves the 'flood' user group (which has the 'bot' right) and remove it from themselves. Additionally, Meta bureaucrats may remove it from any user: $wgGroupPermissions['flood']['bot'] = true; #creates the "flood" group with the "bot" right $wgGroupsAddToSelf['sysop'] = array('flood'); #sysops may add the "flood" group to themselves $wgGroupsRemoveFromSelf['sysop'] = array('flood'); #sysops may remove the "flood" group from themselves $wgRemoveGroups['bureaucrat'] = array( 'flood', # only this line is new; it lets bureaucrats remove the "flood" group from users 'ipblock-exempt', 'bot', 'sysop', 'bureaucrat');
Done.