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

[Bug] 编辑权限导致权限丢失,无法进入集群 #304

Open
gavinwang668 opened this issue Mar 11, 2025 · 0 comments
Open

[Bug] 编辑权限导致权限丢失,无法进入集群 #304

gavinwang668 opened this issue Mar 11, 2025 · 0 comments
Assignees

Comments

@gavinwang668
Copy link

KubePi 版本

v1.9.0

Bug 描述
1、管理员首次为集群A添加用户A,权限只读
2、用户A登录,可以进入集群A,并且权限是只读
3、管理员修改用户A权限由只读变更为管理员。
4、用户A无法进入集群,权限丢失。

问题分析
在编辑时,逻辑是先删除再新增,这段逻辑存在BUG。
新增时候,有向DB写数据,编辑时候的新增逻辑变了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants