https://bugzilla.wikimedia.org/show_bug.cgi?id=17116
--- Comment #4 from Jonathan Eisenstein <[email protected]> 2009-01-22 03:55:36 UTC --- If I understand correctly, the result of wfRunHooks() should be the instruction of whether to continue processing security rules. An extension author can set the $result to true and return false in order to allow the user to read and force their extension to be the last word on the matter, according to the documentation at http://www.mediawiki.org/wiki/Manual:Hooks/userCan. In this case, there is no way for the extension author to declare that it this extension has no problem with the user having read access but also allow the other security code to run. (Even if $result isn't set, an earlier or later userCan hook might change it.) I believe this turns the original MW access code using $wgGroupPermissions off, with the only way to re-enable it being to re-implement it in the extension code. -- 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
