Disable some CRUD actions

If I want to disable edit and delete, so that routes like GET /admin/{model}/1/edit and POST /livewire/update cant even be accessed.
How do you do that?
Solution
Just remove the routes and pages in your specific resource.

You won't be able to remove livewire/update as filament is built on livewire and therefore needs that endpoint to be able to work at all.
Was this page helpful?