Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NIdentity
  • NPermission
  • NSimpleAuthenticator

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IPermissionAssertion
  • IResource
  • IRole

Exceptions

  • NAuthenticationException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Interface IAuthorizator

Authorizator checks if a given role has authorization to access a given resource.

Direct known implementers

NPermission
Package: Nette\Security
Author: David Grudl
Located at Security/IAuthorizator.php
Methods summary
public boolean
# isAllowed( string $role = IAuthorizator::ALL, string $resource = IAuthorizator::ALL, string $privilege = IAuthorizator::ALL )

Performs a role-based authorization.

Performs a role-based authorization.

Parameters

$role
string
role
$resource
string
resource
$privilege
string
privilege

Returns

boolean
Constants summary
ALL NULL
#

Set type: all

Set type: all

boolean ALLOW TRUE
#

Permission type: allow

Permission type: allow

boolean DENY FALSE
#

Permission type: deny

Permission type: deny

Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0