romanbican / roles

Powerful package for handling roles and permissions in Laravel 5
MIT License
1.16k stars 297 forks source link

Use the roles as permission, not specified by the user #178

Open RosiersRobin opened 8 years ago

RosiersRobin commented 8 years ago

Hi,

I want to be able to get the permissions by role, not by user.

So like not if user can access, but like if user has role and that role can access, hen do action.

Hope you get it?

How can I do this (also in Blade).