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

List问题汇总 #9

Closed
7 tasks done
bjwswang opened this issue Feb 13, 2023 · 0 comments
Closed
7 tasks done

List问题汇总 #9

bjwswang opened this issue Feb 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request high High Priority
Milestone

Comments

@bjwswang
Copy link
Member

bjwswang commented Feb 13, 2023

由于RBAC设计问题,部分CRD的List 权限未开放,需要通过多CRD之间组合查询完成list.

  1. 组织管理
  • 全部组织 : 展示所有组织 List
  • 我创建的 :通过 organization.spec.admin 过滤
  1. 联盟管理
  • 全部联盟 : 1) 获取用户作为admin的组织列表 2) 读取organization.status.federations,获取有权限访问的联盟列表 3)查看具体的联盟信息
  • 我创建的 : 1) 基于上述列表 2) 判断 label bestchains.federation.initiator是否为用户管理的组织
  1. 提议管理
  • 全部提议 : 1)获取用户管理(admin)的组织 2) 获取该组织下的所有votes 3)通过votes查看proposal
  • 我创建的: 1) 基于上述的提议列表 2) 判断proposal.spec.initiatorOrganization是否为当前用户管理的组织
  1. 网络管理
  • 网络列表: 1) 获取用户管理的组织所在的联盟列表 2) 通过federation.status.networks获取所有的网络列表 3) 查看获取具体的网络信息

Labels参考: bestchains/fabric-operator#32

@bjwswang bjwswang added bug Something isn't working enhancement New feature or request high High Priority and removed bug Something isn't working labels Feb 13, 2023
@bjwswang bjwswang added this to the v0.1.0 milestone Feb 14, 2023
@bjwswang bjwswang reopened this Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high High Priority
Projects
None yet
Development

No branches or pull requests

2 participants