Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增或者修改时,数据添加的时机问题 #9

Closed
eryajf opened this issue Jun 2, 2022 · 0 comments · Fixed by #17
Closed

新增或者修改时,数据添加的时机问题 #9

eryajf opened this issue Jun 2, 2022 · 0 comments · Fixed by #17
Labels
enhancement 新功能或请求 | New feature or request

Comments

@eryajf
Copy link
Owner

eryajf commented Jun 2, 2022

这里的核心逻辑应该是,如果添加人员或者分组,应该:

  1. 先往MySQL添加
  2. 再往ldap中添加

如果1失败,则不会执行2,如果2失败,则前台提醒用户,添加到ldap失败,可通过前端提供按钮,手动将MySQL中该条数据同步到ldap作为补偿。

总的来说核心宗旨为:MySQL与ldap中数据必须强一致!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 新功能或请求 | New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant