All Data Structures Functions Variables Pages
Static Protected Member Functions
ApiControllerSecurityUtil Class Reference
Inheritance diagram for ApiControllerSecurityUtil:
ControllerSecurityUtil

Static Protected Member Functions

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

Additional Inherited Members

- 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)
 

Detailed Description

ApiControllerSecurityUtil::renderAccessFailureView shouldn't generate view, but rather throw exception

Definition at line 41 of file ApiControllerSecurityUtil.php.

Member Function Documentation

static renderAccessFailureContent (   $fromAjax = false,
  $nonAjaxFailureMessageContent = null 
)
staticprotected

Generate security exception, in case when user doesn't have permissions for requested action.

Parameters
boolean$fromAjax
$nonAjaxFailureMessageContent
Exceptions
SecurityException

Definition at line 49 of file ApiControllerSecurityUtil.php.


The documentation for this class was generated from the following file:
Generated on Sun Mar 29 2020 07:10:48