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

LeadsControllerSecurityUtil Class Reference

Inheritance diagram for LeadsControllerSecurityUtil:
ControllerSecurityUtil

Static Public Member Functions

static resolveCanUserProperlyConvertLead ($userCanAccessContacts, $userCanAccessAccounts, $convertToAccountSetting)
static resolveCanUserProperlyConvertLeadFinalStep ($userCanAccessContacts, $userCanAccessOpportunities, $convertToOpportunitySetting)

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,
userCanAccessAccounts,
convertToAccountSetting 
) [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.

static resolveCanUserProperlyConvertLeadFinalStep ( userCanAccessContacts,
userCanAccessOpportunities,
convertToOpportunitySetting 
) [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 opportunities and an opportunity is required for conversion

Definition at line 90 of file LeadsControllerSecurityUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 21 07:10:55 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