Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
MissionAccessUtil Class Reference

Static Public Member Functions

static resolveCanCurrentUserWriteOrDeleteMission (Mission $mission)
 

Detailed Description

Used by controller actions to determine if a user should be able to access a mission. This is required because even though read/write is added to the everyone group, we only want the owner to be able to edit or delete a mission.

Definition at line 42 of file MissionAccessUtil.php.

Member Function Documentation

static resolveCanCurrentUserWriteOrDeleteMission ( Mission  $mission)
static

Only the owner of a mission can edit a mission.

Parameters
Mission$mission

Definition at line 48 of file MissionAccessUtil.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 4 2020 07:10:52
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.