Skip to content
Snippets Groups Projects
Commit 7d0e6014 authored by Liam Morland's avatar Liam Morland Committed by Lily Yan
Browse files

ISTWCMS-4954: Revoke permissions a role no longer has in setUwPermissions()

Prior to this commit, this method only granted permissions.

Fixes problem introduced in b9f50792.
parent d58ca04b
No related branches found
No related tags found
1 merge request!249ISTWCMS-5479: auth site release
......@@ -168,6 +168,7 @@ class UwRoles {
foreach ($remove_permissions as $permission) {
$uw_role['object']->revokePermission($permission);
}
$uw_role['object']->save();
}
......
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