From f96f22fa975586bc99fb6130dd9427993a2b7d1f Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Mon, 9 May 2022 04:50:24 -0300 Subject: [PATCH] [CTDA9-67] Check update operation in access controller. --- src/FixityCheckAccessControlHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FixityCheckAccessControlHandler.php b/src/FixityCheckAccessControlHandler.php index 0fbf552..af721a1 100644 --- a/src/FixityCheckAccessControlHandler.php +++ b/src/FixityCheckAccessControlHandler.php @@ -24,6 +24,7 @@ class FixityCheckAccessControlHandler extends EntityAccessControlHandler { case 'view revision': return AccessResult::allowedIfHasPermission($account, 'view fixity checks')->cachePerPermissions(); + case 'update': case 'delete': return AccessResult::allowedIfHasPermission($account, $admin_permission)->cachePerPermissions();