Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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

 $user
 $model

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,
model 
)
Parameters:
User $user
Item $model

Definition at line 51 of file ActionSecurity.php.


Member Function Documentation

canUserPerformAction (  ) 
Returns:
boolean - true if user can perform action

Definition at line 62 of file ActionSecurity.php.

getRightToCheck (  )  [protected]

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);

Reimplemented in ListViewMergeActionSecurity, MassSubscribeActionSecurity, AddPortletActionSecurity, ConvertLeadActionSecurity, ModalListActionSecurity, CreateActionSecurity, DeleteActionSecurity, ExportActionSecurity, MassDeleteActionSecurity, MassEditActionSecurity, ModalListActionSecurity, and MassDeleteActionSecurity.

Definition at line 99 of file ActionSecurity.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Feb 21 07:10:46 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8