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 Wed May 27 2020 07:10:53