Add resource refreshing logic #270

Merged
tcdlpds merged 1 commits from rajitha/device-mgt-core:admin-role-isssue into master 1 year ago

@ -741,6 +741,7 @@ public class APIPublisherServiceImpl implements APIPublisherService {
authorizationManager.clearRoleAuthorization(role);
for (String permission : permissions) {
authorizationManager.authorizeRole(role, permission, CarbonConstants.UI_PERMISSION_ACTION);
authorizationManager.refreshAllowedRolesForResource(permission);
}
}

Loading…
Cancel
Save