From 26e5ef78eb52e1b69da4a563a77c5adc860071eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Konvi=C4=8Dka?= Date: Wed, 17 Dec 2025 18:02:19 +0100 Subject: [PATCH] fix: allow edit --- src/Component/BaseGrid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Component/BaseGrid.php b/src/Component/BaseGrid.php index f4306b1..414fa6d 100755 --- a/src/Component/BaseGrid.php +++ b/src/Component/BaseGrid.php @@ -98,7 +98,7 @@ final protected function createComponentGrid(): DataGrid } $grid->setDataSource($queryObjectDataSource); - if ($this->allowEdit()) { + if ($this->allowEdit() && $this->getSecurityUser()->isAllowed($this->allowEdit()->getAcl())) { $grid->addAction('edit', '') ->setIcon('edit') ->setClass('ajax datagrid-edit');