Add resource refreshing logic

pull/270/head
Rajitha Kumara 1 year ago
parent 95b2750d8b
commit d8a2f72d8f

@ -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