Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 906513d

Browse files
committed
fix(admin): Disable delete, edit, and new actions by default
1 parent fb7d3b2 commit 906513d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controller/Admin/EmailDeliveryEventCrudController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function configureActions(Actions $actions): Actions
4949
));
5050

5151
return $actions
52-
// ->disable(Action::DELETE, Action::EDIT, Action::NEW)
52+
->disable(Action::DELETE, Action::EDIT, Action::NEW)
5353
->add(Crud::PAGE_INDEX, Action::DETAIL)
5454
->add(Crud::PAGE_INDEX, $previewAction)
5555
->add(Crud::PAGE_DETAIL, $previewAction);

0 commit comments

Comments
 (0)