MediaWiki REL1_39
MediaWiki\Permissions\Hook\UserIsEveryoneAllowedHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. 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

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "UserIsEveryoneAllowed" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 12 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: