Giter VIP home page Giter VIP logo

Comments (12)

andrew13 avatar andrew13 commented on August 24, 2024

Very interesting idea and thanks for the link to the rolify. I'll review it and see what can be added without making it too complicated.

from entrust.

andrew13 avatar andrew13 commented on August 24, 2024

I took a longer look at the rolify, not quite sure what it provides without installing it and testing it.

from entrust.

andrew13 avatar andrew13 commented on August 24, 2024

I think I see what you mean. Be able to specify a role or permission against a specific class or object. I think thats a really neat idea, but I think it's beyond the scope of entrust at the moment.

from entrust.

nicodemuz avatar nicodemuz commented on August 24, 2024

+1

This would be exactly what I need! :)

from entrust.

phazei avatar phazei commented on August 24, 2024

That would be great. Currently building a CMS that manages multiple sites. Users will have a edit permission but only for a particular site, or multiple sites for example. This feature would be really useful.

from entrust.

carcinocron avatar carcinocron commented on August 24, 2024

👍

from entrust.

dambridge avatar dambridge commented on August 24, 2024

Not sure if I follow correctly, but would this satisfy a mult-tenant situation, ie, using 'tenant_id' column?

from entrust.

adanarchila avatar adanarchila commented on August 24, 2024

+1

from entrust.

deardooley avatar deardooley commented on August 24, 2024

+1

from entrust.

deardooley avatar deardooley commented on August 24, 2024

I had a pressing need for something like this, so I went ahead and implemented it. The pull requests is #245. You will need to migrate your pivot table if you are already running this on your site. If this gets merged, I will port it to L5 as well. As I'm not using L5 at the moment, that wasn't a top priority for me, but I'm happy to give back.

from entrust.

georgeboot avatar georgeboot commented on August 24, 2024

I really like this idea! I searched a lot for a perfect rbac library for Laravel that does support object based permissions, and this would be it.

For me I need specific roles per event. Organisers have their own events which they can edit, but moderators get assigned to certain events, on which they need to perform certain tasks. Having a way of combining permissions with objects would solve this matter completely.

from entrust.

ThemePlugger avatar ThemePlugger commented on August 24, 2024

+1

from entrust.

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.