Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPSubmissionAccessPolicy Class Reference
Inheritance diagram for PKPSubmissionAccessPolicy:
ContextPolicy PolicySet SubmissionAccessPolicy

Public Member Functions

 buildSubmissionAccessPolicy ($request, $args, $roleAssignments, $submissionParameterName)
 
 PKPSubmissionAccessPolicy ($request, $args, $roleAssignments, $submissionParameterName= 'submissionId')
 
- Public Member Functions inherited from ContextPolicy
 ContextPolicy ($request)
 
- Public Member Functions inherited from PolicySet
 addPolicy ($policyOrPolicySet, $addToTop=false)
 
 getCombiningAlgorithm ()
 
 getEffectIfNoPolicyApplies ()
 
getPolicies ()
 
 PolicySet ($combiningAlgorithm=COMBINING_DENY_OVERRIDES)
 
 setEffectIfNoPolicyApplies ($effectIfNoPolicyApplies)
 

Public Attributes

 $_baseSubmissionAccessPolicy
 
- Public Attributes inherited from PolicySet
 $_effectIfNoPolicyApplies = AUTHORIZATION_DENY
 

Detailed Description

Base class to control (write) access to submissions and (read) access to submission details in OMP.

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

Member Function Documentation

PKPSubmissionAccessPolicy::buildSubmissionAccessPolicy (   $request,
  $args,
  $roleAssignments,
  $submissionParameterName 
)
Parameters
PKPRequest$request
array$args
array$roleAssignments
string$submissionParameterName

Definition at line 44 of file PKPSubmissionAccessPolicy.inc.php.

References PolicySet\addPolicy(), and PolicySet\PolicySet().

Referenced by PKPSubmissionAccessPolicy().

PKPSubmissionAccessPolicy::PKPSubmissionAccessPolicy (   $request,
  $args,
  $roleAssignments,
  $submissionParameterName = 'submissionId' 
)

Constructor

Parameters
$requestPKPRequest
$argsarray request parameters
$roleAssignmentsarray
$submissionParameterNamestring the request parameter we expect the submission id in.

Definition at line 32 of file PKPSubmissionAccessPolicy.inc.php.

References buildSubmissionAccessPolicy().

Member Data Documentation

PKPSubmissionAccessPolicy::$_baseSubmissionAccessPolicy

var $_submissionAccessPolicy the base policy for the submission before _SUB_EDITOR is considered

Definition at line 22 of file PKPSubmissionAccessPolicy.inc.php.

Referenced by SubmissionAccessPolicy\SubmissionAccessPolicy().


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