You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
I have seen somewhere people struggled to add permissions and roles for this plugin as I did also... So I found a way how to add to filament blog plugin permissions and roles using also widely popular Shield plugin, it might not be convenient way but it works for me.
Copy resources provided from filament-blog ( Me personally created a command to copy from vendor all resources )
When copied run php artisan shield:generate --all and it will generate policies with coresponding resources from filament-blog
Most important is to add Gate Policies if u use Laravel 11^ its in AppServiceProvider.php
Optionaly u can add also HasShieldPermissions interface to resources.