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

系统管理权限问题 #2532

Open
chenjinlei1122 opened this issue Mar 13, 2024 · 1 comment
Open

系统管理权限问题 #2532

chenjinlei1122 opened this issue Mar 13, 2024 · 1 comment

Comments

@chenjinlei1122
Copy link

重现步骤

1.给DBA权限组添加系统管理菜单,配置项操作权限
image
image
2. 点击配置项管理,提示无权限
image
3. 查看源代码,配置项管理的请求添加的有superuser_required装饰器
image
是有规范规定系统管理只能管理员有权限吗,另外看到代码中有定义role_required装饰器,但是查询发现没有使用,是否可以用role_required替换superuser_required

预期外的结果

用户可以拥有分配的权限

日志文本

No response

版本

最新master

部署方式

Docker

是否还有其他可以辅助定位问题的信息?比如数据库版本等

No response

@yeepaysre
Copy link

理论上,你分配系统配置给用户,不就是超级管理员权限了么?是因为里面有很多菜单是后台菜单不想暴露么?可以试试sqlpara ,www.sqlpara.com

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