Comments (6)
Isn't the filesystem order, which is above, the same as alphapbetical order?
from acl_extras.
How can the order they are put in the database effect the ACL check???
from acl_extras.
@markstory: I'm on Windows XP and I think the underscore is basically ignored when alphabetizing the file names. In the Controllers List (where _controller.php is chopped off), now the list isn't in alpha order: AvordersAttributes, AvordersCategories, Avorders isn't in alpha order, but AvordersAttributesController, AvordersCategoriesController, AvordersController is in alpha order (which I guess is the file systems method).
@sitedyno: no clue... it doesn't make sense to me, but that's what was going on in my ACL controlled app (it was the only difference between ACOs that worked and didn't work, which was fixed after sort()ing the Controller List)
Let me know if I can help in any way.
from acl_extras.
@kwentworth in 1.3 there will be no underscores in plugin or controller node aliases in linux or windows.
from acl_extras.
I don't have any underscores in my node aliases. All I am trying to say is that controllers aren't always stored in alphabetical order in the file system (due to "_controller.php" being part of the file name). Why this impacts ACL check() is another issue.
from acl_extras.
@kwentworth the filesystem in Windows is case-INsensitive. maybe this is part of the problem.
from acl_extras.
Related Issues (20)
- Get rootNode from AuthComponent's settings
- Error: Plugins AclExtras could not found HOT 4
- AclExtrass Warning Error: array_diff(): Argument #1 is not an array and more HOT 8
- switch to packagist and composer for using this plugin HOT 2
- Missing Plugin Persistent Issue HOT 2
- Database connection is missing. HOT 1
- Method implementedEvents does not exist HOT 1
- Error: Plugin AclExtras could not be found HOT 1
- acl extras not found issue HOT 1
- Shell class AclExtrasShell could not be found HOT 8
- ACO creation fails when a plugin has a controller with same name as app itself HOT 1
- Call to a member function node() on a non-object HOT 1
- Error: Class InspectionsController does not exist HOT 4
- ACL not syncing HOT 9
- Wrong methods found in checkMethods HOT 1
- What about 3.0 ? HOT 5
- Lib update to 2.9.0 breaks acl_extras HOT 5
- Broken backwards compatibility HOT 2
- CakeObject HOT 2
- CakeObject and Object HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acl_extras.