From 53b0d5af9f2cb053d001e2257b97ff18c406d3d0 Mon Sep 17 00:00:00 2001 From: duanaoqi Date: Mon, 25 Aug 2025 15:48:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0ACCESS=5FUSER=5FFULL=5FDISK?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: duanaoqi --- frameworks/common/permission_definition_parser.py | 1 + .../accesstokenmanager/permission_definitions.json | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/frameworks/common/permission_definition_parser.py b/frameworks/common/permission_definition_parser.py index abc9f75d3..4e99b27bd 100755 --- a/frameworks/common/permission_definition_parser.py +++ b/frameworks/common/permission_definition_parser.py @@ -82,6 +82,7 @@ PERMISSION_BRIEF_DEFINE_PATTERN = ''' JSON_VALUE_CONVERT_TO_CPP_DICT = { "user_grant": "USER_GRANT", "system_grant": "SYSTEM_GRANT", + "mannual_setting": "mannual_setting", "normal": "APL_NORMAL", "system_basic": "APL_SYSTEM_BASIC", "system_core": "APL_SYSTEM_CORE", diff --git a/services/accesstokenmanager/permission_definitions.json b/services/accesstokenmanager/permission_definitions.json index e9811dc53..b5ff19d33 100644 --- a/services/accesstokenmanager/permission_definitions.json +++ b/services/accesstokenmanager/permission_definitions.json @@ -7412,6 +7412,17 @@ "distributedSceneEnable": false, "deviceTypes": ["2in1"] }, + { + "name": "ohos.permission.ACCESS_USER_FULL_DISK", + "grantMode": "mannual_setting", + "availableLevel": "system_basic", + "availableType": "NORMAL", + "since": 20, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false, + "deviceTypes": ["2in1"] + }, { "name": "ohos.permission.MEMOSPACE_SYNC", "grantMode": "system_grant", -- Gitee