From 1ca26d3cf26d8648302b8608cb378d66146e72a8 Mon Sep 17 00:00:00 2001 From: wpy88 Date: Fri, 13 Jun 2025 14:57:50 +0800 Subject: [PATCH 1/2] privatespacemanager add new permission Signed-off-by: wpy88 --- systemres/main/module.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/systemres/main/module.json b/systemres/main/module.json index 289877b0..5d399a38 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -5748,6 +5748,15 @@ "deprecated": "", "provisionEnable": true, "distributedSceneEnable": false + }, + { + "name": "ohos.permission.FILE_ACCESS_FOR_PRIVATE_SPACE", + "grantMode": "system_grant", + "availableLevel": "system_basic", + "since": 20, + "deprecated": "", + "provisionEnable": true, + "distributedSceneEnable": false } ] } -- Gitee From b005a8e16f477832d9ac553f6f103e19160d61b3 Mon Sep 17 00:00:00 2001 From: weipengyu Date: Mon, 16 Jun 2025 14:09:33 +0000 Subject: [PATCH 2/2] update systemres/main/module.json. Signed-off-by: weipengyu --- systemres/main/module.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemres/main/module.json b/systemres/main/module.json index 5d399a38..5496dbfd 100644 --- a/systemres/main/module.json +++ b/systemres/main/module.json @@ -5741,7 +5741,7 @@ "distributedSceneEnable": false }, { - "name": "ohos.permission.ACCESS_DFX_LOG_DIR", + "name": "ohos.permission.FILE_ACCESS_FOR_PRIVATE_SPACE", "grantMode": "system_grant", "availableLevel": "system_basic", "since": 20, @@ -5750,7 +5750,7 @@ "distributedSceneEnable": false }, { - "name": "ohos.permission.FILE_ACCESS_FOR_PRIVATE_SPACE", + "name": "ohos.permission.ACCESS_DFX_LOG_DIR", "grantMode": "system_grant", "availableLevel": "system_basic", "since": 20, -- Gitee