4 ms·
Came to the comments to note this, very bad for UX, but at least you can grey them out, not hide.
by ex3ndr 6y ago
Came to the comments to note this, very bad for UX, but at least you can grey them out, not hide.
- derision 6y agoLaravel Nova handles this particularly well, with separate "can see" and "can run" concerns. Nova is essential an admin panel for CRUD operations over your Laravel resources. Basically we use them this way: "can see" = false: not a valid action (resource should not be created manually for example) "can see" = true && "can run" = false: valid action in the system, user is not permitted to perform "can see" = true && "can run" = true: valid action, user has access to perform