class Acl extends Plugin

Mostly just a wrapper for ACL actions, allows for wildcard override

Strict flag removed for Phalcon 3.0.0, apparently the strict check on '*' was a bug.

Methods

boolean
isAllowed(string $role, string $resource, string $action)

Check if action is allowed for role and resource

array
export()

Export ACL roles

Details

at line line 23
boolean isAllowed(string $role, string $resource, string $action)

Check if action is allowed for role and resource

Parameters

string $role Role name
string $resource Resource name
string $action Action

Return Value

boolean

at line line 48
array export()

Export ACL roles

Return Value

array