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:
if you install Shield it will install Spatie Permission since it's a dependency of Shield.
Jump to solution
7 Replies
awcodes
awcodes6mo ago
Shield uses spatie’s permission package under the hood.
Pritbor
Pritbor6mo ago
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
awcodes
awcodes6mo ago
if you install Shield it will install Spatie Permission since it's a dependency of Shield.
awcodes
awcodes6mo ago
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.
Pritbor
Pritbor6mo ago
Thanks alot. What do you use generally for multi-authentication?
awcodes
awcodes6mo ago
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.
Pritbor
Pritbor6mo ago
Yes. I have come across the Breezy plugin. Just got confused among multiple choices. And then you have filament inherent authentication system. Thanks alot.