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

查询用户菜单时,返回数据没有去重 #265

Closed
zhangsenfeng opened this issue Sep 27, 2019 · 2 comments
Closed

查询用户菜单时,返回数据没有去重 #265

zhangsenfeng opened this issue Sep 27, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@zhangsenfeng
Copy link
Contributor

描述您遇到的bug
当一个用户同时为2个角色,且这两个角色配置了重复的菜单时,my-menus接口会返回重复的菜单数据。

如何重现

  1. 在权限管理中,选择两个不同的角色,分别添加admin用户
  2. 同时给这两个角色同样的菜单权限
  3. 刷新页面重新请求my-menus接口

预期行为
希望my-menus返回的数据根据id去重

截图
image

附加

@zhangsenfeng zhangsenfeng added the bug Something isn't working label Sep 27, 2019
@irvinezhao
Copy link
Contributor

Portal 没有此问题

@jordanzhangsz jordanzhangsz added this to Not Plan in CMDB开源版本1.2 & hot fix via automation Sep 30, 2019
@jordanzhangsz jordanzhangsz moved this from Not Plan to To Do in CMDB开源版本1.2 & hot fix Oct 8, 2019
@jordanzhangsz jordanzhangsz removed their assignment Oct 8, 2019
@jordanzhangsz jordanzhangsz moved this from To Do to In Progress in CMDB开源版本1.2 & hot fix Oct 8, 2019
@jordanzhangsz
Copy link
Collaborator

fixed at : #287

CMDB开源版本1.2 & hot fix automation moved this from In Progress to Done Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

4 participants