F
Filament4mo ago
Flash

Different user types

Hi, is it possible to have Admin users and standard users that don't have full access and can only see their own profile? I want admins to be able to add products and I want customers to be able to sign in and manage their subscriptions. Thanks.
Solution:
It depends on your specific requirements. You have several options to consider, such as utilizing Spatie permissions, integrating the Shield plugin, or exploring other methods to achieve your goal. https://filamentphp.com/plugins/bezhansalleh-shield https://spatie.be/docs/laravel-permission/v6/introduction...
Filament
Shield by Bezhan Salleh - Filament
The easiest and most intuitive way to add access management to your Filament Panel's Resources, Pages & Widgets through spatie/laravel-permission.
Jump to solution
4 Replies
Flash
Flash4mo ago
How would it differentiate between who is an admin and who is a standard user? Do I need to add a column to the users table or is that something set up in Filament? Thanks.
Solution
LeandroFerreira
LeandroFerreira4mo ago
It depends on your specific requirements. You have several options to consider, such as utilizing Spatie permissions, integrating the Shield plugin, or exploring other methods to achieve your goal. https://filamentphp.com/plugins/bezhansalleh-shield https://spatie.be/docs/laravel-permission/v6/introduction
Filament
Shield by Bezhan Salleh - Filament
The easiest and most intuitive way to add access management to your Filament Panel's Resources, Pages & Widgets through spatie/laravel-permission.
Flash
Flash4mo ago
Thanks a lot. I'll look into that plugin.