Courses

Laravel Filament Admin v2: Practical Course

Filament Plugins: Roles and Permissions with Shield

Previous: Permissions using Laravel Policies
avatar

hello, i just started a new project, installed this plugin but i dont have role settings button. trided on 2 different filament projects. is the plugin different now? thank you

avatar

Maybe it has changed since then, this video was filmed around half a year ago. Ask the package creator directly on GitHub, maybe.

avatar

Try with the command: "php artisan shield:publish" You should publish the resource in order to make it visible in filament

avatar
You can use Markdown
avatar

Hi Povilas great quick tutorial, I noticed you have the SETTINGS and NEW ROLE options can you tell me how you got them to display on the role page please

avatar
You can use Markdown
avatar

Also what is the best way to check if the user is part of super_admin in a if statement?

avatar
You can use Markdown
avatar
Tesfaye Kebede Beyene

Hello, Great educational video as always. Yes, the interface has changed since your video. I want to know how to add a custom role resource to expand the existing shield role resource(eg add a company column etc) without changing the package role resource but just extending it.

avatar
You can use Markdown
avatar
You can use Markdown