Class \Prado\Security\Permissions\TPermissionsAction
TPermissionsAction class.
The indexes, displays rolls with children and permissions rules, and can edit Db roles, children and rules.
Class hierarchy
Author: Brad Anderson <belisoful[at]icloud[dot]com>Since: 4.2.0
public
|
actionAddRule(array<string|int, mixed> $args) : bool
adds a DB Configuration Permission Rule. Here is the format of the function
arguments.
'perm/add-rule' permission_name action users roles verb ips priority and can be use like this:
|
public
|
|
public
|
|
public
|
actionRole(array<string|int, mixed> $args) : bool
get children of a role, and adds to and removes children from a db configuration.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setPermissionsManager(TPermissionsManager $manager) : mixed
get the TPermissionsManager from the Application
|
protected
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |