Or using wgUserPrivsArray (or some other name) instead? Instead of defining user groups granting by attaching a permission to the granter, why not grant it to the privilege? I mean, instead of saying "sysops can give rollback" say "rollback can be given by sysops, bureaucrats and stewards"?
Titoxd.
-----Original Message----- From: Simetrical [mailto:Simetrical+wikitech@gmail.com] Sent: Tuesday, August 15, 2006 12:57 PM To: Wikimedia developers Subject: Re: [Wikitech-l] [Wikipedia-l] Special:Desysop
On 8/15/06, Rob Church robchur@gmail.com wrote:
That will confuse the existing code handling it. I maintain it would be better to split up the variables; the purpose is too broadened otherwise.
Not really. There's certainly no mileage in having a standard permission to the effect of "can change groups", and then some other variable saying what groups each specific group-changing group can change; the former is implicit if you're included in the latter.
It makes more sense to keep all group permissions in $wgGroupPermissions. That's what it's there for.