|
MediaWiki master
|
The concrete implementation of basic read/write restrictions in MediaWiki. More...
Inherits MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.

Public Member Functions | |
| __construct (RequestInterface $request, Handler $handler, private readonly Authority $authority,) | |
| Public Member Functions inherited from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer | |
| __construct (protected readonly RequestInterface $request, protected readonly 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.
| |
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, | ||
| private readonly Authority | $authority ) |
Definition at line 15 of file MWBasicRequestAuthorizer.php.
References $request.
|
protected |
Check if the current user is allowed to read from the wiki.
Reimplemented from MediaWiki\Rest\BasicAccess\BasicRequestAuthorizer.
Definition at line 24 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 29 of file MWBasicRequestAuthorizer.php.