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 6634703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:57:40+00:00 2026-05-25T22:57:40+00:00

cakephp acl component make roles like this: admin add_post delete_post edit_post view_post add_link delete_link

  • 0

cakephp acl component make roles like this:

  • admin

    • add_post
    • delete_post
    • edit_post
    • view_post
    • add_link
    • delete_link
    • edit_link
    • view_link
    • add_page
    • delete_page
    • edit_page
    • view_page
  • manager_1:

    • add_post
    • view_post
  • manager_2:

    • add_link
    • view_link
  • manager_3:

    • add_page
    • view_page
  • users:

  • view_post
  • now i will add a user to manager_1 and manager_2.

    how i can do this with cakephp acl component???

    maybe in this example i can create 4 or 5 different group. but when this options are many, i have to make group’s role inheritance.

    can i do this in cakephp acl component?

    • 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-05-25T22:57:41+00:00Added an answer on May 25, 2026 at 10:57 pm

      You will need to tell the ACL component to which ARO Group your User belongs. You can do that by implementing the parentNode() method in your User model. You can find an example of it here.

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

    Sidebar

    Related Questions

    In many tutorial of Acl component in cakephp i got instruction that add component
    I'm implementing the ACL component for my CakePHP app (1.3.14). I have everything setup
    In CakePHP 2.0 version, I have written something like this in UsersController.php public function
    I'm using CakePHP's ACL component to manage permissions for my app. I have about
    folks. I'm starting with CakePHP and after reviewing this tutorial ( http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application ) and
    I'm using spark_plug plugin on cakephp, this plugin provides an authentication-acl system for register
    I'm struggling to implement ACL in CakePHP. After reading the documentation in the cake
    In a CakePHP 1.2 app, I'm using <?php $session->flash();?> to output messages like Record
    I'm building a controller to manage group based ACL in CakePHP and when I
    I'm building a site with CakePHP which I would like to have 3 sections:

    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.