已合并
feat: 新增ohos.permission.CONTROL_DEVICE权限 #4214
feat: 新增ohos.permission.CONTROL_DEVICE权限 #4214
已合并
hellohyh001创建于 3月28日
hellohyh001
hellohyh001
3月28日

关联的issue:

https://gitcode.com/openharmony/global_system_resources/issues/2204

修改描述(修改功能描述,规格变更说明):

为支持设备控制功能,新增系统权限 ohos.permission.CONTROL_DEVICE
权限规格:

  • 权限名称:ohos.permission.CONTROL_DEVICE
  • 授权方式:manual_settings(用户手动授权)
  • 权限级别:system_basic(系统基础应用)
  • 可用类型:NORMAL
  • 支持设备:2in1
  • 起始版本:26.0.0
    修改文件:
  1. services/accesstokenmanager/permission_definitions.json
  2. services/privacymanager/include/common/constant.h
  3. services/privacymanager/src/common/constant.cpp

测试用例(附上截图,不涉及不需要说明不涉及原因):

1、TDD:不涉及,本次为权限配置文件修改
2、XTS:不涉及,本次为权限配置文件修改
3、手工用例(自验证步骤/预期结果/实际结果):验证权限定义配置正确性、授权流程、使用记录功能

兼容性上库自检:

权限合入自检:

安全编码自检:

日志规范自检:

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 hellohyh001 的贡献)
hellohyh001hellohyh001
3月28日 关联了issue:新增ohos.permission.CONTROL_DEVICE权限
AsterNighT
AsterNighT
3月28日 评论:

AI检视任务后台执行中,稍候返回结果。

The AI Review task is being executed in the background and will return results shortly.

您可通过评论"list commands"来查询命令列表。
You can leave a "list commands" comment to get commands list.

likedislike
openharmony_ciopenharmony_ci成员
3月28日 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
3月28日 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
3月28日 添加了label:dco检查成功
此处折叠了105条消息 查看更多
openharmony_ciopenharmony_ci成员
4月9日 合入了pull request,合并节点 SHA:10025abff3a63259447baa90c8f0172a9c7401d1
openharmony_ciopenharmony_ci成员
4月9日 删除了label:waiting_on_author
openharmony_ciopenharmony_ci成员
4月9日 添加了label:merged
hellohyh001
hellohyh001
4月15日 评论:

start build

likedislike