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

CA管理:登录页,支持CA管理与peer管理两种登陆 #201

Closed
dengyi9 opened this issue Mar 20, 2019 · 3 comments
Closed

CA管理:登录页,支持CA管理与peer管理两种登陆 #201

dengyi9 opened this issue Mar 20, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@dengyi9
Copy link
Collaborator

dengyi9 commented Mar 20, 2019

关于功能与权限设计:

  • 由于ca-admin与peer-admin、peer-user为不同证书, 考虑v0.3版本暂不考虑如何区分。 先实现最小功能,即登入、使用功能。但不考虑隐藏无法操作的功能页,如下
    • 若导入为ca-admin,则可用ca管理功能。
    • 若导入为peer-admin,则可用所有peer管理功能,即区块看板、链码调用、链码安装、通道管理。
    • 若导入为peer-admin,则可用peer普通功能,即区块看板、链码调用。
  • v0.4版本,可考虑根据证书属性、参数等,处理功能页面显示,
    • 若为ca-admin登入,则只看到ca管理页
    • 若为peer-admin登入后,看到peer所有功能页, 即区块看板、链码调用、链码安装、通道管理。
    • 若为peer-user登入,则只看到peer普通功能页,无管理页, 即区块看板、链码调用。

Originally posted by @dengyi9 in #171 (comment)

@dengyi9
Copy link
Collaborator Author

dengyi9 commented Mar 20, 2019

实现层面,v0.3版本考虑如下:

  1. 登陆页需增加输入框,如 “CA节点地址”、“CA-TLS证书”、“CA-SSL域名”等
  2. 只维护一套身份,登录页的 “用户证书”、"用户私钥" 为CA管理与peer管理共用,都是必填项
    • 若为peer管理:则与v0.2版本登陆必填项相同,即 “组织节点地址”、“* 组织节点事件地址:”、“排序节点地址:”、“* 组织MspID:”
    • 若为CA管理:则必填项为"CA节点地址",而peer管理的必填项不需填写。 选填项为CA-TLS相关选项。

@dengyi9 dengyi9 added this to the v0.3.0 milestone Mar 20, 2019
@dengyi9 dengyi9 added the enhancement New feature or request label Mar 20, 2019
dengyi9 added a commit to dengyi9/hyperledger-fabric-desktop that referenced this issue Mar 21, 2019
dengyi9 added a commit that referenced this issue Mar 21, 2019
@dengyi9 dengyi9 self-assigned this Mar 21, 2019
@dengyi9
Copy link
Collaborator Author

dengyi9 commented Mar 28, 2019

待实现支持TLS通讯的CA-server连接

dengyi9 added a commit to dengyi9/hyperledger-fabric-desktop that referenced this issue Mar 29, 2019
dengyi9 added a commit that referenced this issue Mar 29, 2019
Login Screen:support CA TLS communication。 #201
@dengyi9
Copy link
Collaborator Author

dengyi9 commented Mar 29, 2019

done

@dengyi9 dengyi9 closed this as completed Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant