Giter VIP home page Giter VIP logo

Comments (6)

markstory avatar markstory commented on May 29, 2024

Isn't the filesystem order, which is above, the same as alphapbetical order?

from acl_extras.

sitedyno avatar sitedyno commented on May 29, 2024

How can the order they are put in the database effect the ACL check???

from acl_extras.

kwentworth avatar kwentworth commented on May 29, 2024

@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.

sitedyno avatar sitedyno commented on May 29, 2024

@kwentworth in 1.3 there will be no underscores in plugin or controller node aliases in linux or windows.

from acl_extras.

kwentworth avatar kwentworth commented on May 29, 2024

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.

the0ther avatar the0ther commented on May 29, 2024

@kwentworth the filesystem in Windows is case-INsensitive. maybe this is part of the problem.

from acl_extras.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.