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

给新建用户赋予角色的逻辑漏洞 #3461

Closed
mapleafly opened this issue Feb 27, 2022 · 2 comments
Closed

给新建用户赋予角色的逻辑漏洞 #3461

mapleafly opened this issue Feb 27, 2022 · 2 comments

Comments

@mapleafly
Copy link

版本号:

v3.0

问题描述:

建立admin之下的二级管理员用户A,只要这个用户A拥有部门管理、用户管理或者我的部门这三个权限之一,这个用户A就可以创建一个赋予管理员角色的用户B。

参见 #1538。好像没有解决这个问题。

截图&代码:

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
@zhangdaiscott
Copy link
Member

收录 ty

@1298191366
Copy link

已修复,待新版本发布

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

3 participants