Protect actions with Laravel authorization.
Using authorize()
public function delete(Post $post): void
{
$this->authorize('delete', $post);
$post->delete();
}In View
@can('delete', $post)
<button wire:click="delete({{ $post->id }})">Delete</button>
@endcan