PHP Class Lime\Helper\SimpleAcl

Afficher le fichier Open project: sjardim/Hugopit

Protected Properties

Свойство Type Description
$groups
$resources
$rights

Méthodes publiques

Méthode Description
addGroup ( $name, $isSuperAdmin = false )
addResource ( $resource, $actions = [] )
allow ( $group, $resource, $actions = [] )
deny ( $group, $resource, $actions = [] )
getGroups ( )
getResources ( )
hasGroup ( $group )
hasaccess ( $groups, $resource, $actions )

Method Details

addGroup() public méthode

public addGroup ( $name, $isSuperAdmin = false )

addResource() public méthode

public addResource ( $resource, $actions = [] )

allow() public méthode

public allow ( $group, $resource, $actions = [] )

deny() public méthode

public deny ( $group, $resource, $actions = [] )

getGroups() public méthode

public getGroups ( )

getResources() public méthode

public getResources ( )

hasGroup() public méthode

public hasGroup ( $group )

hasaccess() public méthode

public hasaccess ( $groups, $resource, $actions )

Property Details

$groups protected_oe property

protected $groups

$resources protected_oe property

protected $resources

$rights protected_oe property

protected $rights