Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
PKPPublicAccessPolicy Class Reference
Inheritance diagram for PKPPublicAccessPolicy:
HandlerOperationPolicy AuthorizationPolicy PKPProcessAccessPolicy

Public Member Functions

 effect ()
 
 PKPPublicAccessPolicy (&$request, $operations, $message= 'user.authorization.privateOperation')
 
- Public Member Functions inherited from HandlerOperationPolicy
 _checkOperationWhitelist ()
 
 getOperations ()
 
getRequest ()
 
 HandlerOperationPolicy (&$request, $operations, $message=null)
 
- Public Member Functions inherited from AuthorizationPolicy
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 
 applies ()
 
 AuthorizationPolicy ($message=null)
 
 effect ()
 
getAdvice ($adviceType)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
 hasAdvice ($adviceType)
 
 hasAuthorizedContextObject ($assocType)
 
 setAdvice ($adviceType, &$adviceContent)
 
 setAuthorizedContext (&$authorizedContext)
 

Detailed Description

Class to control access to handler operations based on an operation whitelist.

Definition at line 18 of file PKPPublicAccessPolicy.inc.php.

Member Function Documentation

PKPPublicAccessPolicy::effect ( )
PKPPublicAccessPolicy::PKPPublicAccessPolicy ( $request,
  $operations,
  $message = 'user.authorization.privateOperation' 
)

Constructor

Parameters
$requestPKPRequest
$operationsarray|string either a single operation or a list of operations that this policy is targeting.
$messagestring a message to be displayed if the authorization fails

Definition at line 26 of file PKPPublicAccessPolicy.inc.php.


The documentation for this class was generated from the following file: