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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:50:36+00:00 2026-06-11T16:50:36+00:00

I have a few questions about CakePHPs ACL and Auth system. Whats the naming

  • 0

I have a few questions about CakePHPs ACL and Auth system.

  1. Whats the naming convention of the aliases in the acos table? Is it ‘controllers/Posts/add’ or just ‘add’ with the parent id from ‘Posts’?
  2. My login doesn’t work. When I try to login I don’t get any error message but the Auth.User and the Auth->user(‘id’) are both empty. What could be the problem? I do everything like in the ACL example from CakePHP.

Thank you.

UPDATE:
My login works now (Problem with the time settings on the server) and my acos table looks right but I can’t go to any action. I allowed the action in the aros_acos table. If I check the permission with ‘$this->Acl->check()’ it just works if I give the single name of the action and not the full path (‘controllers/Posts/add’ doesn’t work).

  • 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-11T16:50:37+00:00Added an answer on June 11, 2026 at 4:50 pm

    I solved the problems by:

    1. Make sure the time on the server is correct. Otherwise sessions won’t work.
    2. Correct the table data in the acos table. Especially make sure that the ‘lft’ and ‘rght’ values are correct. This page may helps: http://www.sitepoint.com/hierarchical-data-database-2/
    3. You need to add every action you want to use to the acos table. If you don’t do this you’re not allowed to do this action. Even if you allow the hole controller.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

System: Windows Vista 32-bit, Java 6.0.2 I have a few questions about converting chars
I have a few questions about sessions and login/logout systems. In my system, first
I have a few questions about storing files on the operating system. These may
I have few questions about ssis transction isolation levels. consider a scenario:I have an
I have few questions about using lock to protect my shared data structure. I
I have a few questions about Xcode and interaction with GCC 4.2.1: It doesn't
I have a few questions about this after reading the iPhone documentation on it:
I have a few questions about cross-page posting in ASP.NET: What is cross-page posting
I have a few questions about Core Location. 1) Should the user refuse permission
I have a few questions about the eq() property of jQuery and how to

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.