MediaWiki REL1_35
MediaWiki\Permissions\Hook\UserIsEveryoneAllowedHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Permissions\Hook\UserIsEveryoneAllowedHook:

Public Member Functions

 onUserIsEveryoneAllowed ( $right)
 Use this hook to check if all users are allowed some user right; return false if a UserGetRights hook might remove the named right.
 

Detailed Description

Stable to implement.

Definition at line 9 of file UserIsEveryoneAllowedHook.php.

Member Function Documentation

◆ onUserIsEveryoneAllowed()

MediaWiki\Permissions\Hook\UserIsEveryoneAllowedHook::onUserIsEveryoneAllowed (   $right)

Use this hook to check if all users are allowed some user right; return false if a UserGetRights hook might remove the named right.

Since
1.35
Parameters
string$rightUser right being checked
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: