-
Choerodon平台版本:iam 服务 0.23.10
-
运行环境:自主搭建
-
问题描述:
ldap 手工同步人员
稍等发了新版本会告知你
1.choerodon-iam升级到最新版本 0.23.12
2.检查下是否有脏数据 时间改成你同步的时间
SELECT tmp.id AS real_id,
tmp.login_name AS true_login_name,
du.iam_user_id,
du.gitlab_user_name,
du.gitlab_user_id,
du.creation_date
FROM devops_service.devops_user du
LEFT JOIN (SELECT id, login_name FROM hzero_platform.iam_user iu where iu.creation_date > '2020-11-18') tmp
ON du.gitlab_user_name = tmp.login_name
WHERE du.creation_date > '2020-11-18'
AND du.iam_user_id NOT IN (SELECT id
FROM hzero_platform.iam_user iu2
WHERE iu2.login_name = du.gitlab_user_name
AND iu2.creation_date > '2020-11-18');