Namespaces

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

Classes

  • Identity
  • Permission
  • SimpleAuthenticator

Interfaces

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

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Interface IAuthorizator

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

Direct known implementers

Nette\Security\Permission
Namespace: Nette\Security
Author: David Grudl
Located at Security/IAuthorizator.php
Methods summary
public boolean
# isAllowed( string $role = Nette\Security\IAuthorizator::ALL, string $resource = Nette\Security\IAuthorizator::ALL, string $privilege = Nette\Security\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 API documentation generated by ApiGen 2.3.0