Packages

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

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • 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

Permission
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 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0