LeadsControllerSecurityUtil Class Reference

Inheritance diagram for LeadsControllerSecurityUtil:

Static Public Member Functions

static resolveCanUserProperlyConvertLead ($userCanAccessContacts, $userCanAccessAccounts, $convertToAccountSetting)

Detailed Description

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

Definition at line 40 of file LeadsControllerSecurityUtil.php.

Member Function Documentation

static resolveCanUserProperlyConvertLead ( userCanAccessContacts,
) [static]

There are several scenarios that can occur where a user has the right to convert, but is missing other rights in order to properly utilize the convert 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 Scenario #2 - User cannot access accounts and an account is required for conversion

Definition at line 49 of file LeadsControllerSecurityUtil.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 29 07:10:27 2017