Public Member Functions

PermsHelper Class Reference

Permission helper. More...

Inheritance diagram for PermsHelper:
AppHelper

List of all members.

Public Member Functions

 userActionAccess ($authUser, $action)
 Check if user has permission on an action reading $config['actionPermission'].

Detailed Description

Permission helper.

Definition at line 25 of file perms.php.


Member Function Documentation

PermsHelper::userActionAccess ( authUser,
action 
)

Check if user has permission on an action reading $config['actionPermission'].

Parameters:
array $authUser, user data with groups (like $BEAuthuser)
string $action, action to check in the form 'ControllerName.actionName'
Returns:
boolean, true if user has access permissions, false otherwise

Definition at line 36 of file perms.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus