Giter Site home page Giter Site logo

Comments (4)

gmeben avatar gmeben commented on August 15, 2024

Instead of a meeting, I decided to share with the team the current understanding of user roles via message: https://teams.microsoft.com/l/message/19:[email protected]/1611589076054?tenantId=22177130-642f-41d9-9211-74237ad5687d&groupId=9ca8e1ea-de79-4fee-b2ac-ad876872ea81&parentMessageId=1611589076054&teamName=PPJ&channelName=General&createdTime=1611589076054

from pilcrow.

gmeben avatar gmeben commented on August 15, 2024

Right now I've installed the third-party package and I created a new unit test UserPermissionsTest to ensure it works as expected, which I test with lando artisan test --testsuite=Feature --filter=UserPermissionsTest while in the backend directory.

I'm running into issues with data persisting in the database despite using the RefreshDatabase trait because I created a new test role without the use of a factory.

from pilcrow.

gmeben avatar gmeben commented on August 15, 2024

The current estimate for this issue still seems accurate 8 given that the amount of time subtracted from implementing the scaffolding necessary for roles and permissions is offset by the cost of learning the third-party tool, but the good news is that this will probably eliminate the need for the additional work for permissions here: https://app.zenhub.com/workspaces/ccr-5ff39ba363391e0019713c87/issues/mesh-research/ccr/81

from pilcrow.

gmeben avatar gmeben commented on August 15, 2024

While it's not clear if using the Gate::before and Gate::after AuthServiceProvider techniques are the best for implementing the "super user" abilities of Application Administrators, they appear to be suitable techniques. If they are found to be unsuitable, then we can fallback to the typical role-based usage to enable permissions for Application Administrators.

from pilcrow.

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.