🛡️Integration
Use Filament Shield
you can use the shield to protect your resources and allow user roles by installing it first
Add the Spatie\Permission\Traits\HasRoles trait to your User model(s):
Publish the config file then set your configuration:
Now run the following command to install the shield:
now on your filament-users.php
config allows shield
now clear your config
for more information check the Filament Shield
Use Filament Impersonate
you can use the impersonate to impersonate the user by installing it first
now on your filament-users.php
config allows shield
now clear your config
for more information check the Filament Impersonate
Last updated