Best way to reuse Create button (with permissions)
Hello,
I would like to display a resource creation button in a custom modal. I want to rewrite as little code as possible and keep the permissions system (filament-shield).
But the button is still visible and works even if I do not have the permission to create a user. Do I really have to manage permissions myself? Is there no way to reuse the same behavior as the buttons on the listing page?