Add resource refreshing logic

revert
commit a1fa3df1f7

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