Skip to content

Commit

Permalink
OXDEV-8215: Add separate permissions for listing themes and modules
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Jul 30, 2024
1 parent 3a3a49e commit b0b2051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Shared/Service/PermissionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public function getPermissions(): array
{
return [
'oxidadmin' => [
'CHANGE_CONFIGURATION'
'CHANGE_CONFIGURATION',
'LIST_THEMES',
'LIST_MODULES'
],
];
}
Expand Down

0 comments on commit b0b2051

Please sign in to comment.