Class Auth_ACL
Classe permettant la gestion de roles et de permissions.
$ACL = new Auth_ACl(); $ACL->addRole('Writer',array('read','write')); $ACL->addPermission('Writer','delete'); if($ACL->hasPermission('write')) echo 'ok'; else echo 'ko';
Package: Auth
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 2.0.0
Located at Auth/ACL.class.php
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 2.0.0
Located at Auth/ACL.class.php
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|