已关闭
新增权限 ohos.permission.CONTROL_DEVICE #2204
hellohyh001创建于  3月27日关闭于  4月9日
hellohyh001
hellohyh001
3月27日 创建

问题描述

需要在 systemres/main/module.json 中新增权限定义,以支持设备控制功能。

变更说明

在 module.json 中添加新的权限定义:

  • 权限名称:ohos.permission.CONTROL_DEVICE
  • 授权方式:manual_settings(手动设置)
  • 权限级别:system_basic(系统基础权限)
  • 版本要求:26.0.0 及以上

影响范围

  • 修改文件:systemres/main/module.json
  • 影响组件:global_system_resources

验证建议

  1. 验证新权限定义格式正确
  2. 检查权限级别和授权方式是否符合规范
  3. 确认与其他权限定义无冲突

相关信息

此权限用于设备控制功能的权限管理。

likedislike
openharmony_ci
openharmony_ci成员
3月27日 评论:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@zhuxiang66](https://gitcode.com/zhuxiang66) [@liule_123](https://gitcode.com/liule_123) [@zw_feifei](https://gitcode.com/zw_feifei) 。如果需要调整订阅PR、Issue的变更状态,请访问链接


Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
3月27日 添加了label:waiting_for_assign
hellohyh001hellohyh001
3月27日 关联了pull request:feat: 新增权限 ohos.permission.CONTROL_DEVICE
openharmony_ciopenharmony_ci成员
4月9日 关闭了 issue
openharmony_ciopenharmony_ci成员
4月9日 issue状态由 待办的 改变为 已完成