From b0b20510d5473376ac20c04ada3b534bfc998193 Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Tue, 30 Jul 2024 12:40:28 +0200 Subject: [PATCH] OXDEV-8215: Add separate permissions for listing themes and modules --- src/Shared/Service/PermissionProvider.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Shared/Service/PermissionProvider.php b/src/Shared/Service/PermissionProvider.php index 35e09fe..6bb34e8 100644 --- a/src/Shared/Service/PermissionProvider.php +++ b/src/Shared/Service/PermissionProvider.php @@ -17,7 +17,9 @@ public function getPermissions(): array { return [ 'oxidadmin' => [ - 'CHANGE_CONFIGURATION' + 'CHANGE_CONFIGURATION', + 'LIST_THEMES', + 'LIST_MODULES' ], ]; }