优化
This commit is contained in:
@@ -163,6 +163,10 @@ public class PlatformUserManagementService {
|
||||
call(() -> authClient.revokeSessions(internalToken,
|
||||
new AuthAccountClient.RevokeAccountSessionsRequest(Set.of(user.getAuthUserId()))));
|
||||
}
|
||||
if (rolesChanged || warehouseChanged || scopeChanged) {
|
||||
securityEvents.permissionChanged(user.getAuthUserId(), newTenantId,
|
||||
appCode(newTenantId), "PLATFORM_USER_AUTHORIZATION_CHANGED");
|
||||
}
|
||||
} catch (RuntimeException localFailure) {
|
||||
compensateUpdate(user.getAuthUserId(), membershipId, oldTenantId, oldAccount,
|
||||
profileChanged, scopeChanged, localFailure);
|
||||
|
||||
Reference in New Issue
Block a user