can('ViewAny:Element'); } public function view(AuthUser $authUser, Element $element): bool { return $authUser->can('View:Element'); } public function create(AuthUser $authUser): bool { return $authUser->can('Create:Element'); } public function update(AuthUser $authUser, Element $element): bool { return $authUser->can('Update:Element'); } public function delete(AuthUser $authUser, Element $element): bool { return $authUser->can('Delete:Element'); } public function restore(AuthUser $authUser, Element $element): bool { return $authUser->can('Restore:Element'); } public function forceDelete(AuthUser $authUser, Element $element): bool { return $authUser->can('ForceDelete:Element'); } public function forceDeleteAny(AuthUser $authUser): bool { return $authUser->can('ForceDeleteAny:Element'); } public function restoreAny(AuthUser $authUser): bool { return $authUser->can('RestoreAny:Element'); } public function replicate(AuthUser $authUser, Element $element): bool { return $authUser->can('Replicate:Element'); } public function reorder(AuthUser $authUser): bool { return $authUser->can('Reorder:Element'); } }