entrust icon indicating copy to clipboard operation
entrust copied to clipboard

Is it possible to attach permissions directly to users?

Open slickorange opened this issue 11 years ago • 1 comments

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?

slickorange avatar Apr 25 '15 20:04 slickorange

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.

CoderFetch avatar May 03 '15 00:05 CoderFetch