Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPUserAccessibleWorkflowStageRequiredPolicy Class Reference
Inheritance diagram for PKPUserAccessibleWorkflowStageRequiredPolicy:
AuthorizationPolicy

Public Member Functions

 _getAccessibleStageRoles ($userId, $contextId, &$submission, $stageId)
 
 effect ()
 
 PKPUserAccessibleWorkflowStageRequiredPolicy ($request)
 
- 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)
 

Additional Inherited Members

- Public Attributes inherited from AuthorizationPolicy
 $_advice = array()
 
 $_authorizedContext = array()
 

Detailed Description

Policy to deny access if an user assigned workflow stage is not found.

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

Member Function Documentation

PKPUserAccessibleWorkflowStageRequiredPolicy::_getAccessibleStageRoles (   $userId,
  $contextId,
$submission,
  $stageId 
)

Check for roles that give access to the passed workflow stage.

Parameters
int$userId
int$contextId
Submission$submission
int$stageId
Returns
array

Definition at line 81 of file PKPUserAccessibleWorkflowStageRequiredPolicy.inc.php.

PKPUserAccessibleWorkflowStageRequiredPolicy::effect ( )
PKPUserAccessibleWorkflowStageRequiredPolicy::PKPUserAccessibleWorkflowStageRequiredPolicy (   $request)

Constructor

Parameters
$requestPKPRequest

Definition at line 29 of file PKPUserAccessibleWorkflowStageRequiredPolicy.inc.php.


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