https://bugzilla.wikimedia.org/show_bug.cgi?id=16791


Mr.Z-man <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #3 from Mr.Z-man <[email protected]>  2008-12-25 20:38:34 UTC ---
I thought about this somewhat after it was brought up on enwiki's village pump.
The main issue is that it requires the software to "know" the hierarchy of
protection levels. Protection levels are technically based on rights, not
groups. The 'sysop' in $wgRestrictionLevels is treated as 'protect'. I guess
what you'd have to do is look up all the groups that have a given permission
(such as 'move') and then you'd need some logic to determine if the requested
configuration (move=autoconfirmed) is equivalent to or less restrictive than
the default. Since restrictions can have separate expires, this would also need
to be checked whenever a permission expires.

The other option is redoing the protection config variables. Instead of having
separate $wgRestrictionTypes and $wgRestrictionLevels, have a combined
$wgRestrictions or something with a format like 
$wgRestrictions = array('edit'=>array('autoconfirmed', 'sysop'),
'move'=>array('sysop'));
though the protection form and any other uses of the protection types/levels
variables would have to support both config options for backwards
compatibility, which could potentially be ugly.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to