Laravel permission with laravel-permission - development

Laravel permission with laravel-permission

I’m using laravel-permission package. I’ve created two roles, Administrator and Maintainer, and Administrator have all permissions, Maintainer just have part Permissions. Now I want to use Maintainer role access URL and prompt no permissions.

How should I write in the controller?



from Laravel Questions and Answers https://laravelquestions.com/php/laravel-permission-with-laravel-permission/
via Lzo Media

Comments

Popular posts from this blog

Using Intervention package to compress images. My images are not being compressed, still the same size - development

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-include of inline SVG does not display gradient except in Chrome