Laravel uses policies to disable users from certain pages on Laravel Nova. When selecting a list of resources (e.g. every single user), the recycle bin (top right of container) is available for use. Even though my policy tells Nova the user is not allowed to force delete a resource, this option is still available. When the option is clicked, Nova refreshes and all resources are still in the list.
Can this visual bug be fixed?
Detailed steps to reproduce the issue on a fresh Nova installation:
Create users via resource
Select all users using the mass selector (top left of container)
Use the mass delete option (top right of container)
Description:
Laravel uses policies to disable users from certain pages on Laravel Nova. When selecting a list of resources (e.g. every single user), the recycle bin (top right of container) is available for use. Even though my policy tells Nova the user is not allowed to force delete a resource, this option is still available. When the option is clicked, Nova refreshes and all resources are still in the list.
Can this visual bug be fixed?
Detailed steps to reproduce the issue on a fresh Nova installation: