Filament shield showing Roles managment to everyone
Out of the sudden, my shield/roles managment tab has become accessible to all users instead and the Role policy is not being taken into account?
what could've caused this behaviour, i've tried doing
php artisan shield:install
again but it hasn't fixed it?
4 Replies
edit
register_role_policy.enabled
to true
in the filament-shield
config file and then publish the role policy using php artisan shield:generate --all
Oh my god you beautiful human, I love you so much
Hello, I am learning filament, could you help me, I am making an application, I have implemented the roles and permissions in the users table, add a status field for 1 if it is active and 0 if it is inactive, I need to validate the user to also look at this field to Whether or not the user can enter the application, I thank you for your collaboration.