From 5f55a8e82d87815739304cc23755acd40fc37d78 Mon Sep 17 00:00:00 2001 From: "J. Peter M. Schuler" Date: Mon, 5 Sep 2022 01:16:07 +0200 Subject: [PATCH] [BUGFIX] non-admin: page module calcperm wrong --- Classes/Controller/Backend/PageLayoutController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/Backend/PageLayoutController.php b/Classes/Controller/Backend/PageLayoutController.php index ca17323a2..3b32b05f7 100644 --- a/Classes/Controller/Backend/PageLayoutController.php +++ b/Classes/Controller/Backend/PageLayoutController.php @@ -251,7 +251,7 @@ public function showAction() $this->view->assign('pageMessages', $this->getFlashMessageQueue('TVP')->getAllMessages()); $this->view->assign('calcPerms', $this->calcPerms); - $this->view->assign('basicEditRights', $this->hasBasicEditRights()); + $this->view->assign('basicEditRights', $this->hasBasicEditRights(isset($this->pageInfo['uid']) ? 'pages' : null, isset($this->pageInfo['uid']) ? $this->pageInfo : null)); $this->view->assign('clipboard', $this->clipboard2fluid());