CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (GitHub)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • Slack
    • Paid Support
CakePHP

C CakePHP 2.6 API

  • Overview
  • Tree
  • Deprecated
  • Version:
    • 2.6
      • 4.2
      • 4.1
      • 4.0
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Packages

  • Cake
    • Cache
      • Engine
    • Configure
    • Console
      • Command
        • Task
    • Controller
      • Component
        • Acl
        • Auth
    • Core
    • Error
    • Event
    • I18n
    • Log
      • Engine
    • Model
      • Behavior
      • Datasource
        • Database
        • Session
      • Validator
    • Network
      • Email
      • Http
    • Routing
      • Filter
      • Route
    • TestSuite
      • Coverage
      • Fixture
      • Reporter
    • Utility
    • View
      • Helper

Classes

  • DbAcl
  • IniAcl
  • PhpAcl
  • PhpAco
  • PhpAro

Interfaces

  • AclInterface

Interface AclInterface

Access Control List interface. Implementing classes are used by AclComponent to perform ACL checks in Cake.

Direct Implementers
  • DbAcl
  • IniAcl
  • PhpAcl
Package: Cake\Controller\Component\Acl
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Controller/Component/Acl/AclInterface.php

Method Summary

  • allow() public
    Allow methods are used to grant an ARO access to an ACO.
  • check() public
    Empty method to be overridden in subclasses
  • deny() public
    Deny methods are used to remove permission from an ARO to access an ACO.
  • inherit() public
    Inherit methods modify the permission for an ARO to be that of its parent object.
  • initialize() public
    Initialization method for the Acl implementation

Method Detail

allow() public ¶

allow( string $aro , string $aco , string $action = "*" )

Allow methods are used to grant an ARO access to an ACO.

Parameters
string $aro
ARO The requesting object identifier.
string $aco
ACO The controlled object identifier.
string $action optional "*"
Action (defaults to *)
Returns
boolean
Success

check() public ¶

check( string $aro , string $aco , string $action = "*" )

Empty method to be overridden in subclasses

Parameters
string $aro
ARO The requesting object identifier.
string $aco
ACO The controlled object identifier.
string $action optional "*"
Action (defaults to *)
Returns
boolean
Success

deny() public ¶

deny( string $aro , string $aco , string $action = "*" )

Deny methods are used to remove permission from an ARO to access an ACO.

Parameters
string $aro
ARO The requesting object identifier.
string $aco
ACO The controlled object identifier.
string $action optional "*"
Action (defaults to *)
Returns
boolean
Success

inherit() public ¶

inherit( string $aro , string $aco , string $action = "*" )

Inherit methods modify the permission for an ARO to be that of its parent object.

Parameters
string $aro
ARO The requesting object identifier.
string $aco
ACO The controlled object identifier.
string $action optional "*"
Action (defaults to *)
Returns
boolean
Success

initialize() public ¶

initialize( Component $component )

Initialization method for the Acl implementation

Parameters
Component $component
The AclComponent instance.
OpenHub
Rackspace
Rackspace
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (GitHub)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • Slack
  • Paid Support

Generated using CakePHP API Docs