Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

  • Identity
  • Permission
  • SimpleAuthenticator
  • User

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IResource
  • IRole
  • IUserStorage

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

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, string $resource, string $privilege )

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 2.1 API documentation generated by ApiGen 2.8.0