加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
luozejian.txt 4.50 KB
一键复制 编辑 原始数据 按行查看 历史
罗泽建 提交于 2024-08-05 02:20 . update luozejian.txt.
,
{
"name": "ohos.permission.OPEN_FILE",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"since": 12,
"deprecated": "",
"provisionEnable": true,
"distributedSceneEnable": false
},
{
"name": "ohos.permission.PROCESS_FILE_COPY_PASTE",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"since": 12,
"deprecated": "",
"provisionEnable": true,
"distributedSceneEnable": false
},
{
"name": "ohos.permission.CLEAR_RECYCLEBIN",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"since": 12,
"deprecated": "",
"provisionEnable": true,
"distributedSceneEnable": false
},
{
"name": "ohos.permission.GET_FILE_THUMBNAIL",
"grantMode": "system_grant",
"availableLevel": "system_basic",
"since": 12,
"deprecated": "",
"provisionEnable": true,
"distributedSceneEnable": false
}
新增文件代理访问权限ohos.permission.OPEN_FILE
ohos.permission.PROCESS_FILE_COPY_PASTE
ohos.permission.CLEAR_RECYCLEBIN
ohos.permission.GET_FILE_THUMBNAIL
https://gitee.com/openharmony/utils_system_resources/blob/master/systemres/main/config.json
https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/security/AccessToken/Readme-CN.md#/openharmony/docs/blob/master/zh-cn/application-dev/security/AccessToken/permissions-for-all.md
ohos.permission.OPEN_FILE
拉起文件管理APP执行打开文件/文件夹需要的权限
权限级别:system_basic
授权方式:system_grant
ACL使能:true
起始版本:12
ohos.permission.PROCESS_FILE_COPY_PASTE
拉起文件管理APP执行复制、剪切、粘贴需要的权限
权限级别:system_basic
授权方式:system_grant
ACL使能:true
起始版本:12
ohos.permission.CLEAR_RECYCLEBIN
拉起文件管理APP执行清空回收站需要的权限
权限级别:system_basic
授权方式:system_grant
ACL使能:true
起始版本:12
ohos.permission.GET_FILE_THUMBNAIL
集成文管服务SDK获取文件缩略图需要的权限
权限级别:system_basic
授权方式:system_grant
ACL使能:true
起始版本:12
https://gitee.com/openharmony/security_access_token/pulls/1724/files
ohos.permission.PROCESS_FILE_COPY_PASTE
允许系统应用拉起文件管理应用,并复制、剪切、粘贴文件。
Allows a system application to start the File Manager application to copy, cut, and paste files.
ohos.permission.OPEN_FILE
允许系统应用拉起文件管理应用,并打开文件/文件夹。
Allows a system application to start the File Manager application to open files or folders.
ohos.permission.CLEAR_RECYCLEBIN
允许系统应用拉起文件管理应用,并清空回收站。
Allow a system application to start the File Manager application to clear the trash.
ohos.permission.GET_FILE_THUMBNAIL
允许系统服务获取文件缩略图。
Allow a system application to obtain file thumbnails.
https://gitee.com/openharmony/docs/pulls/54029
### ohos.permission.OPEN_FILE
Allows a system application to start the File Manager application to open files or folders.
**Permission level**:system_basic
**Authorization mode**:system_grant
**Enable via ACL**:true
**Valid since**:12
### ohos.permission.PROCESS_FILE_COPY_PASTE
Allows a system application to start the File Manager application to copy, cut, and paste files.
**Permission level**:system_basic
**Authorization mode**:system_grant
**Enable via ACL**:true
**Valid since**:12
### ohos.permission.CLEAR_RECYCLEBIN
Allow a system application to start the File Manager application to clear the trash.
**Permission level**:system_basic
**Authorization mode**:system_grant
**Enable via ACL**:true
**Valid since**:12
### ohos.permission.GET_FILE_THUMBNAIL
Allow a system application to obtain file thumbnails.
**Permission level**:system_basic
**Authorization mode**:system_grant
**Enable via ACL**:true
**Valid since**:12
https://gitee.com/openharmony/docs/pulls/54029
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化