NullPermissionManager Class Reference

Detailed Description

NullPermissionManager acts like an absent PermissionManager.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 20 of file NullPermissionManager.php.

+ Inheritance diagram for NullPermissionManager:

Public Member Functions

static authorize ($resource, $context, $action, $login=null, $applyDefaultPolicy=true)
 
 addTempPermission ($resource, $context, $action)
 
 removeTempPermission ($handle)
 
 hasTempPermission ($resource, $context, $action)
 
 clearTempPermissions ()
 
 getPermissions ($resource, $context, $action)
 
 setPermissions ($resource, $context, $action, $permissions)
 
 createPermission ($resource, $context, $action, $role, $modifier)
 
 removePermission ($resource, $context, $action, $role)
 

Additional Inherited Members

- Public Attributes inherited from PermissionManager
const PERMISSION_MODIFIER_ALLOW = '+'
 
const PERMISSION_MODIFIER_DENY = '-'
 

Member Function Documentation

static authorize (   $resource,
  $context,
  $action,
  $login = null,
  $applyDefaultPolicy = true 
)
See also
PermissionManager::authorize()

Implements PermissionManager.

Definition at line 31 of file NullPermissionManager.php.

addTempPermission (   $resource,
  $context,
  $action 
)
removeTempPermission (   $handle)
hasTempPermission (   $resource,
  $context,
  $action 
)
clearTempPermissions ( )
getPermissions (   $resource,
  $context,
  $action 
)
See also
PermissionManager::getPermissions()

Implements PermissionManager.

Definition at line 63 of file NullPermissionManager.php.

setPermissions (   $resource,
  $context,
  $action,
  $permissions 
)
See also
PermissionManager::setPermissions()

Implements PermissionManager.

Definition at line 70 of file NullPermissionManager.php.

createPermission (   $resource,
  $context,
  $action,
  $role,
  $modifier 
)
removePermission (   $resource,
  $context,
  $action,
  $role 
)