Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8692319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:17:33+00:00 2026-06-13T00:17:33+00:00

I have read book.cakephp articles on ACL Behavior & ACL Component , but I

  • 0

I have read book.cakephp articles on ACL Behavior & ACL Component, but I am still not clear on their distinction.

i.e., when is it best to use both? ACLBehavior only? ACLComponent only? If you can provide some simple usage examples accentuating these three different cases, that would certainly help my understanding…

My specific scenario, in case you want to finetune your answer to it: I want to implement a HABTM ACL with nested user groups; I plan to achieve this with the aid of TinyAuth or Ceeram’s Authorize plugin.

Note: I believe I do grasp the distinction between Behavior vs Component in general; I am just confused about ACL implementation of them.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:17:34+00:00Added an answer on June 13, 2026 at 12:17 am

    You will need to use both ACL Behavior & ACL Component to implement Access Control List in your application. ACL Behavior is used in Model where you can declare public $actsAs variable to tell the behavior to act as requester (ARO) or that this model should be controlled (ACO) or both. ACL Component is a tool to setup perrmisions ($this->Acl->allow , $this->Acl->denay ect…) or check permissions $this->Acl->check…
    If you wish to dig deepper into this subject I recommend to go through this tutorial …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've not read the Modern C++ Design book but have found the idea of
I have read few articles about table partioning but still I am bit confused
I am following the CakePHP ACL tutorial http://book.cakephp.org/2.0/en/tutorials-and-examples/simple-acl-controlled-application/simple-acl-controlled-application.html I have a controller called ImagesController
I have read the Django book, but for the old version 1.1. Other than
I have read around 4-5 books on design patterns, but still I don't feel
I have read in the K&R II C Programming ANSI C book that the
I have read in a Java book that says: Because a String is immutable,
In the book Linux System Programming I have read some like this: fgetc returns
I have just read this in the book OpenCV 2 Computer Vision Application Programming
I've read this book section about git branches. I have create a branch called

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.