All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
ReportSecurityUtil Class Reference

Static Public Member Functions

static canCurrentUserCanAccessModule ($moduleClassName)
 
static canCurrentUserAccessAllComponents (Array $componentForms)
 

Static Protected Member Functions

static canCurrentUserAccessComponent (ComponentForReportForm $componentForm)
 

Detailed Description

Helper class for working with security operations on report results and for working with the report wizard in the user interface

Definition at line 41 of file ReportSecurityUtil.php.

Member Function Documentation

static canCurrentUserCanAccessModule (   $moduleClassName)
static
Parameters
$moduleClassName
Returns
bool

Definition at line 47 of file ReportSecurityUtil.php.

static canCurrentUserAccessAllComponents ( Array  $componentForms)
static
Parameters
array$componentForms
Returns
bool

Definition at line 65 of file ReportSecurityUtil.php.

static canCurrentUserAccessComponent ( ComponentForReportForm  $componentForm)
staticprotected

Resolves for a given component whether the user has necessary rights to access the component information. An example is if a component is account's opportunities and the current user cannot access the opportunities module.

Parameters
ComponentForReportForm$componentForm
Returns
bool

Definition at line 84 of file ReportSecurityUtil.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:40