|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($request, $operations, $message='user.authorization.privateOperation') | |
| effect () | |
Public Member Functions inherited from HandlerOperationPolicy | |
| _checkOperationWhitelist () | |
| getOperations () | |
| & | getRequest () |
Public Member Functions inherited from AuthorizationPolicy | |
| __construct ($message=null) | |
| addAuthorizedContextObject ($assocType, &$authorizedObject) | |
| applies () | |
| & | getAdvice ($adviceType) |
| & | getAuthorizedContext () |
| & | getAuthorizedContextObject ($assocType) |
| hasAdvice ($adviceType) | |
| hasAuthorizedContextObject ($assocType) | |
| setAdvice ($adviceType, &$adviceContent) | |
| setAuthorizedContext (&$authorizedContext) | |
Additional Inherited Members | |
Data Fields inherited from HandlerOperationPolicy | |
| $_operations = array() | |
| $_request | |
Data Fields inherited from AuthorizationPolicy | |
| $_advice = array() | |
| $_authorizedContext = array() | |
Class to control access to handler operations based on an operation whitelist.
Definition at line 18 of file PKPPublicAccessPolicy.inc.php.
| PKPPublicAccessPolicy::__construct | ( | $request, | |
| $operations, | |||
$message = 'user.authorization.privateOperation' |
|||
| ) |
Constructor
| $request | PKPRequest |
| $operations | array|string either a single operation or a list of operations that this policy is targeting. |
| $message | string a message to be displayed if the authorization fails |
Reimplemented from HandlerOperationPolicy.
Definition at line 26 of file PKPPublicAccessPolicy.inc.php.
| PKPPublicAccessPolicy::effect | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 37 of file PKPPublicAccessPolicy.inc.php.
References HandlerOperationPolicy\_checkOperationWhitelist().