Do we need Spatie Permission with Filament Shield?
I am new to the filament and came across the Filament shield package. Need your input on selecting the right stack for authentication and permission across the panel and multi-tenancy level including various modules. Filament Sheild documentation is confusing by saying "Shield is the easiest and most intuitive way to add access management to your Filament Panel's Resources, Pages & Widgets through spatie/laravel permission." Please recommend if I should use Jetstream, spatied permission and Fialment Shield all together. I have mutiple panels with multi-tenancy.
Solution:Jump to solution
if you install Shield it will install Spatie Permission since it's a dependency of Shield.
7 Replies
Shield uses spatie’s permission package under the hood.
Thanks @awcodes . Do you mean a separate Spatie Permission package is not needed? Will jetstream be needed if I want multi-authentication with advance authentication features?
Solution
if you install Shield it will install Spatie Permission since it's a dependency of Shield.
just install it on a separate branch and see if it fits your needs. if not then you can just delete the branch. 🙂
i'm honestly not sure of any advantages Jetstream will give you. I haven't worked with it in a while now.
Thanks alot. What do you use generally for multi-authentication?
are you refering to 2FA?
I personally don't have a need for it. But there is #jeffgreco-breezy plugin that supports it.
There's been several threads though about people who have integrated Filament and Jetstream together, so you should be able to use if you need to.
Yes. I have come across the Breezy plugin. Just got confused among multiple choices. And then you have filament inherent authentication system. Thanks alot.