All Data Structures Functions Variables Pages
Static Public Member Functions
EmailMessagesControllerSecurityUtil Class Reference
Inheritance diagram for EmailMessagesControllerSecurityUtil:
ControllerSecurityUtil

Static Public Member Functions

static resolveCanUserProperlyMatchMessage ($userCanAccessContacts, $userCanAccessLeads)
 
- Static Public Member Functions inherited from ControllerSecurityUtil
static doesCurrentUserHavePermissionOnSecurableItem ($securableItem, $permissionToCheck)
 
static resolveAccessCanCurrentUserReadModel (RedBeanModel $model, $fromAjax=false)
 
static resolveAccessCanCurrentUserWriteModel (RedBeanModel $model, $fromAjax=false)
 
static resolveAccessCanCurrentUserDeleteModel (RedBeanModel $model, $fromAjax=false)
 
static resolveAccessCanCurrentUserWriteModule ($moduleClassName, $fromAjax=false)
 
static resolveCanCurrentUserAccessModule ($moduleClassName, $fromAjax=false)
 

Additional Inherited Members

- Static Protected Member Functions inherited from ControllerSecurityUtil
static processAccessFailure ($fromAjax=false, $nonAjaxFailureMessageContent=null)
 
static renderAccessFailureContent ($fromAjax=false, $nonAjaxFailureMessageContent=null)
 

Detailed Description

Helper class to assist with security checks in the emailMessages module specific controllers

Definition at line 40 of file EmailMessagesControllerSecurityUtil.php.

Member Function Documentation

static resolveCanUserProperlyMatchMessage (   $userCanAccessContacts,
  $userCanAccessLeads 
)
static

There are several scenarios that can occur where a user has access to matching email messages, but is missing other rights in order to properly utilize the matching mechanism. This method checks for those conditions, and if present, will alert the user that there is a misconfiguration and they should contact their administrator. Scenario #1 - User does not have access to contacts or leads. You need to have at least one to be able to match.

Definition at line 48 of file EmailMessagesControllerSecurityUtil.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:45