PortletsSecurityUtil Class Reference

Static Public Member Functions

static resolvePortletsForCurrentUser (array $portlets)
static doesCurrentUserHavePermissionToAddPortlet ($portletRules)

Detailed Description

Helper class to resolve portlets against access rights to determine if the current user can view the portlet.

Definition at line 41 of file PortletsSecurityUtil.php.


Member Function Documentation

static resolvePortletsForCurrentUser ( array $  portlets  )  [static]
Parameters:
array $portlets
Returns:
array

Definition at line 47 of file PortletsSecurityUtil.php.

static doesCurrentUserHavePermissionToAddPortlet ( portletRules  )  [static]

Checks if the user has permission to add portlet from modal

Parameters:
Object $portletRules
Returns:
bool

Definition at line 72 of file PortletsSecurityUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Dec 15 07:10:28 2017