MediaWiki REL1_39
|
The concrete implementation of basic read/write restrictions in MediaWiki. More...
Public Member Functions | |
__construct (RequestInterface $request, Handler $handler, Authority $authority) | |
![]() | |
__construct (RequestInterface $request, Handler $handler) | |
authorize () | |
Protected Member Functions | |
isReadAllowed () | |
Check if the current user is allowed to read from the wiki. | |
isWriteAllowed () | |
Check if the current user is allowed to write to the wiki. | |
Additional Inherited Members | |
![]() | |
$handler | |
$request | |
The concrete implementation of basic read/write restrictions in MediaWiki.
Definition at line 14 of file MWBasicRequestAuthorizer.php.
MediaWiki\Rest\BasicAccess\MWBasicRequestAuthorizer::__construct | ( | RequestInterface | $request, |
Handler | $handler, | ||
Authority | $authority ) |
Definition at line 18 of file MWBasicRequestAuthorizer.php.
References MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer\$handler, and MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer\$request.
|
protected |
Check if the current user is allowed to read from the wiki.
Reimplemented from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.
Definition at line 27 of file MWBasicRequestAuthorizer.php.
|
protected |
Check if the current user is allowed to write to the wiki.
Reimplemented from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.
Definition at line 31 of file MWBasicRequestAuthorizer.php.