On 15/08/06, Simetrical Simetrical+wikitech@gmail.com wrote:
I still prefer my syntax for deciding assignment rights, namely
$wgUserPermissions['bureaucrat']['addgroup']['sysop'] = true; $wgUserPermissions['bureaucrat']['addgroup']['bureaucrat'] = true; $wgUserPermissions['bureaucrat']['addgroup']['bot'] = true; $wgUserPermissions['bureaucrat']['remgroup']['bot'] = true;
I don't, it's too easily confused with $wgGroupPermissions and the two aren't compatible. However, rename the variable to something appropriate, e.g. $wgRightsManipulation (ick, someone think of a better phrase) and the format makes some sort of sense, although of course, we could then switch the middle portion to be "add" or "remove".
One thought that's fairly negligible at this stage, and kinda obvious, but if $wgRightsManipulation, or whatever, was not set, or set to false or null (and that'd be the default), then any user with the "userrights" permission could use the form, as it is now.
I still feel this kind of complicated control is better off as an extension, let's face it; who's going to want to use it besides Wikimedia and a couple of other large installs? Best to keep the core implementation simple, I think. If people want it, it can be added.
I'm not convinced of the need for a "remote" permission. If access is available and $wgAlternateMaster or whatever is set, then fine, it happens, otherwise it doesn't.
Rob Church