-
Notifications
You must be signed in to change notification settings - Fork 45
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
feat(mis): 删除账户和用户-不删除数据 #1360
Closed
Closed
feat(mis): 删除账户和用户-不删除数据 #1360
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: a0e9eee The changes in this PR will be included in the next version bump. This PR includes changesets to release 21 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
cuvalign
force-pushed
the
feat-delete-user-and-account
branch
from
July 17, 2024 09:17
3f34068
to
dc7b4fd
Compare
cuvalign
force-pushed
the
feat-delete-user-and-account
branch
from
August 20, 2024 08:01
9f23d9b
to
27dbd03
Compare
cuvalign
force-pushed
the
feat-delete-user-and-account
branch
from
August 20, 2024 09:41
913541b
to
233b48a
Compare
需要测试接入,以及与产品一起梳理是否有遗漏 |
cuvalign
force-pushed
the
feat-delete-user-and-account
branch
from
August 20, 2024 10:00
233b48a
to
d70bb9b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
功能描述
为租户管理员提供删除用户/账户功能。删除功能并不直接删除数据,通过增加字段标记数据来实现,也不处理集群中的数据。
需要在用户表中增加状态字段,取值暂定“正常”、“已删除”两种,后续根据场景增加可以继续增加状态值,初始化状态默认为“正常”。账户表中状态字段增加状态值“已删除”。可能需要梳理目前所有涉及到用户账户的操作,加入或修改状态判断逻辑。
租户管理员删除用户
租户管理-用户管理-用户列表中增加“删除”操作。
针对其他用户,点击删除后:
4. 开始删除操作,系统做如下处理:
租户管理员删除账户
租户管理-账户管理-账户列表中增加“删除”操作。
针对其他账户,点击删除后:
后端所有涉及用户/账户接口增加用户/账户删除状态判断
考虑实现复杂度,只对影响状态的接口加以限制。对显示日志之类的接口不加限制。但具体是否不加需要梳理评估,如getAllTenants等是否要限制已删除状态的显示。另适配器相关接口也需要梳理用户/账户删除的影响。
其他