https://bugzilla.wikimedia.org/show_bug.cgi?id=14801
^demon <innocentkil...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |innocentkil...@gmail.com --- Comment #21 from ^demon <innocentkil...@gmail.com> 2009-06-15 18:12:28 UTC --- (In reply to comment #18) > I don't like that it created one permission per namespace, which then lead to > those giantic switches. Yes, I can't possibly see something like that getting applied to trunk. > What about $allowed = !$wgUser->isBlocked() && $wgUser->isAllowed( > "viewdeletedns" . MWNamespace::getSubject( $target->getNamespace() ) . > "andtalk" ); ? You're still having to add all those rights, even if you're not switch()ing over them. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l