entrust
entrust copied to clipboard
Is it possible to attach permissions directly to users?
All my models fall in specific categories. I want to give users permission to view a category. It would be nice to attach that permission directly to the user - I don't want to create roles for every category.. Is this possible?
I think I did a similar thing with my forum software. You would have to have a few BelongsToMany relationships, your pivot tables, all that, and then you would use the query builder joins to get all of the relevant results, then do whatever you need to do from there.