Git Product home page Git Product logo

Comments (4)

tamer-hassan avatar tamer-hassan commented on May 18, 2024

I guess the error was self-explanatory.. There was indeed no valid permission associated with the aforementioned route, and all the other testing routes. I was expecting this was established by default, but I was wrong.

My question now is: Did you also unintentionally miss setting permission_id to 8 for admin/audit/{userId}/show as with admin/audit ?
Missing route permissions

from laravel-enterprise-starter-kit.

sroutier avatar sroutier commented on May 18, 2024

Hello,
I just double checked and you are correct on both counts. The routes under "acl-test/*" and the route "admin/audit/{userId}/show" do not have permissions assigned to them. That was an oversight sorry about the trouble.
I also noted that the parameter in the audit route definition should be "auditId" instead of "userId", a little too much cut-&-paste if you ask me...

I am currently working on the crumb-trail and dynamic menu based on permissions, and I will make sure to fix this in the next patch.

Thanks for creating the issue.
/s

from laravel-enterprise-starter-kit.

tamer-hassan avatar tamer-hassan commented on May 18, 2024

Dear Sebastian,

I'm eager to see your next patch, at least including the crumb-trail and dynamic menu based on permissions, so I don't have to reinvent the wheel. :-)

from laravel-enterprise-starter-kit.

sroutier avatar sroutier commented on May 18, 2024

Fixed in commit 30d696f.

from laravel-enterprise-starter-kit.

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.