Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • 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
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • Identity
  • Permission
  • SimpleAuthenticator
  • User

Interfaces

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

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree

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 vendor/nette/nette/Nette/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
mixed 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

API documentation generated by ApiGen 2.8.0