Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

设备,设备组访问,使用权限重新设计 #317

Open
zhou9584 opened this issue Mar 2, 2023 · 1 comment
Open

设备,设备组访问,使用权限重新设计 #317

zhou9584 opened this issue Mar 2, 2023 · 1 comment

Comments

@zhou9584
Copy link
Contributor

zhou9584 commented Mar 2, 2023

现状

设置Private

设备

  1. 调用center接口修改设备属性,并保存至agent本地数据库,设备下次接入时,继承数据库中属性
  2. 调用center接口接口生成key,并立即发送给center,以便center校验

Group

  1. 调用center接口,修改Group属性,仅限Group Owner / team admin
  2. 调用center接口,生成Key,仅限Group Owner / team admin

校验

设备校验

  1. 可以在首页看到public的设备以及team内的private设备
  2. 通过设备SerialNum调用设备执行任务,校验team关联 ? 通过 : 校验key
  3. 将设备添加进Group,校验key

Group校验

  1. 通过Group运行测试任务,校验team关联 ? 通过 : 校验key
@hydraxman
Copy link
Member

@zhou9584 这里的“加密”是什么意思?我们会对设备信息加密吗?

如果是想说 访问权限控制,可能用 访问权限 对应 access control 或者 鉴权 “auth verification”

@zhou9584 zhou9584 changed the title 设备,设备组加密,使用权限重新设计 设备,设备组访问,使用权限重新设计 Mar 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants