All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
ActionSecurity Class Reference
Inheritance diagram for ActionSecurity:
AddPortletActionSecurity ConvertLeadActionSecurity CreateActionSecurity DeleteActionSecurity DetailsActionSecurity EditActionSecurity ExportActionSecurity ListViewMergeActionSecurity MassDeleteActionSecurity MassDeleteActionSecurity MassEditActionSecurity MassSubscribeActionSecurity ModalListActionSecurity ModalListActionSecurity

Public Member Functions

 __construct ($user, $model)
 canUserPerformAction ()

Protected Member Functions

 getRightToCheck ()
 getPermissionToCheck ()

Protected Attributes


Detailed Description

Base class for handling whether or not a user can perform an action or not.

Definition at line 41 of file ActionSecurity.php.

Constructor & Destructor Documentation

__construct (   $user,

Definition at line 51 of file ActionSecurity.php.

Member Function Documentation

canUserPerformAction ( )
boolean - true if user can perform action

Definition at line 62 of file ActionSecurity.php.

getRightToCheck ( )

Returns an array of the module class name and the right if there is a right to check against this action. Example: return array('ZurmoModule', ZurmoModule::RIGHT_BULK_WRITE);

Definition at line 99 of file ActionSecurity.php.

The documentation for this class was generated from the following file:
Generated on Mon Jun 1 2020 07:10:38