MediaWiki
1.34.0
|
The concrete implementation of basic read/write restrictions in MediaWiki. More...
Public Member Functions | |
__construct (RequestInterface $request, Handler $handler, UserIdentity $user, PermissionManager $permissionManager) | |
Public Member Functions inherited from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer | |
__construct (RequestInterface $request, Handler $handler) | |
authorize () | |
Protected Member Functions | |
isReadAllowed () | |
Check if the current user is allowed to read from the wiki. More... | |
isWriteAllowed () | |
Check if the current user is allowed to write to the wiki. More... | |
Private Member Functions | |
isAllowed ( $action) | |
Private Attributes | |
PermissionManager | $permissionManager |
UserIdentity | $user |
Additional Inherited Members | |
Protected Attributes inherited from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer | |
$handler | |
$request | |
The concrete implementation of basic read/write restrictions in MediaWiki.
Definition at line 15 of file MWBasicRequestAuthorizer.php.
MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer::__construct | ( | RequestInterface | $request, |
Handler | $handler, | ||
UserIdentity | $user, | ||
PermissionManager | $permissionManager | ||
) |
Definition at line 22 of file MWBasicRequestAuthorizer.php.
References MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer\$handler, MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\$permissionManager, MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer\$request, and MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\$user.
|
private |
Definition at line 39 of file MWBasicRequestAuthorizer.php.
References MediaWiki\$action.
Referenced by MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\isReadAllowed(), and MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\isWriteAllowed().
|
protected |
Check if the current user is allowed to read from the wiki.
Reimplemented from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.
Definition at line 30 of file MWBasicRequestAuthorizer.php.
References MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\isAllowed().
|
protected |
Check if the current user is allowed to write to the wiki.
Reimplemented from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.
Definition at line 35 of file MWBasicRequestAuthorizer.php.
References MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\isAllowed().
|
private |
Definition at line 20 of file MWBasicRequestAuthorizer.php.
Referenced by MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\__construct().
|
private |
Definition at line 17 of file MWBasicRequestAuthorizer.php.
Referenced by MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer\__construct().