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

Public Member Functions

 SubmissionFileAccessPolicy ($request, $args, $roleAssignments, $mode, $fileIdAndRevision=null, $submissionParameterName= 'submissionId')
 
- Public Member Functions inherited from PKPSubmissionFileAccessPolicy
 buildFileAccessPolicy ($request, $args, $roleAssignments, $mode, $fileIdAndRevision, $submissionParameterName)
 
 PKPSubmissionFileAccessPolicy ($request, $args, $roleAssignments, $mode, $fileIdAndRevision=null, $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)
 

Additional Inherited Members

- Public Attributes inherited from PKPSubmissionFileAccessPolicy
 $_baseFileAccessPolicy
 
- Public Attributes inherited from PolicySet
 $_effectIfNoPolicyApplies = AUTHORIZATION_DENY
 

Detailed Description

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

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

Member Function Documentation

SubmissionFileAccessPolicy::SubmissionFileAccessPolicy (   $request,
  $args,
  $roleAssignments,
  $mode,
  $fileIdAndRevision = null,
  $submissionParameterName = 'submissionId' 
)

Constructor

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

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

References PKPSubmissionFileAccessPolicy\$_baseFileAccessPolicy, PolicySet\addPolicy(), and PolicySet\PolicySet().


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