Skip to content
Snippets Groups Projects
Commit cb9f804b authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-2593: updating the custom permissions building in UwPermissions class

parent 857adec9
No related branches found
No related tags found
No related merge requests found
...@@ -158,9 +158,7 @@ class UwPermissions { ...@@ -158,9 +158,7 @@ class UwPermissions {
foreach ($uw_roles as $uw_role) { foreach ($uw_roles as $uw_role) {
// Set the permission. // Set the permission.
$uw_permissions[$uw_role['name']][] = [ $uw_permissions[$uw_role['name']][] = $permission_name;
$permission_name,
];
} }
return $uw_permissions; return $uw_permissions;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment