Add resource refreshing logic

revert
Rajitha Kumara 1 year ago
parent 95b2750d8b
commit d8a2f72d8f

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

Loading…
Cancel
Save