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

[help wanted]: 后台管理,提示权限问题 #510

Closed
mrcxs opened this issue May 14, 2024 · 4 comments
Closed

[help wanted]: 后台管理,提示权限问题 #510

mrcxs opened this issue May 14, 2024 · 4 comments
Assignees

Comments

@mrcxs
Copy link

mrcxs commented May 14, 2024

Contact Details

No response

What is your question?

在操作后台管理时,报角色 cmdb_admin 才能操作!这个用户默认密码是什么,或者从哪里给 admin 用户赋值这个权限?文档上没有找见

Version

newest

@songchaoqiang
Copy link

我部署v2.4.4后也报这个错误,即使添加正确的cmdb_admin角色权限也是报错。但是我重新部署v2.4.3是没有这个报错的。

@mrcxs
Copy link
Author

mrcxs commented May 14, 2024

我部署v2.4.4后也报这个错误,即使添加正确的cmdb_admin角色权限也是报错。但是我重新部署v2.4.3是没有这个报错的。

还真是,回滚2.4.3就能用了

@pycook
Copy link
Collaborator

pycook commented May 16, 2024

默认是没有给admin赋予cmdb_admin角色的
image
给admin分配cmdb_admin角色后 退出重新登陆即可 角色的变更需要退出登录才生效

@pycook
Copy link
Collaborator

pycook commented May 16, 2024

初始sql做了更新,默认admin继承cmdb_admin角色, 27c733a

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

No branches or pull requests

5 participants