MediaWiki REL1_28
|
Try to make sure that extensions register all rights in $wgAvailableRights or via the 'UserGetAllRights' hook. More...
Public Member Functions | |
testAvailableRights () | |
Private Member Functions | |
getAllVisibleRights () | |
Returns all rights that should be in $wgAvailableRights + all rights registered via the 'UserGetAllRights' hook + all "core" rights. | |
Try to make sure that extensions register all rights in $wgAvailableRights or via the 'UserGetAllRights' hook.
Definition at line 9 of file AvailableRightsTest.php.
|
private |
Returns all rights that should be in $wgAvailableRights + all rights registered via the 'UserGetAllRights' hook + all "core" rights.
Definition at line 17 of file AvailableRightsTest.php.
References $wgGroupPermissions, $wgRevokePermissions, as, and global.
Referenced by testAvailableRights().
AvailableRightsTest::testAvailableRights | ( | ) |
Definition at line 36 of file AvailableRightsTest.php.
References getAllVisibleRights().