Ejemplo n.º 1
0
 function hasPermission($permission_value)
 {
     require_once 'AMP/System/Permission/Manager.inc.php';
     $manager = new AMPSystem_PermissionManager();
     $manager->readUser($this->getName());
     return $manager->authorized($permission_value);
 }