From c02a97d3a5f2777896dceb2b89fa4a4cd9eb0945 Mon Sep 17 00:00:00 2001 From: caiminggang Date: Mon, 21 Mar 2022 15:44:10 +0800 Subject: [PATCH 1/2] add edm permission Signed-off-by: caiminggang --- systemres/main/config.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/systemres/main/config.json b/systemres/main/config.json index 7a70afa..7b0ec51 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -905,6 +905,20 @@ "availableLevel": "system_basic", "provisionEnable": true, "distributedSceneEnable": false + }, + { + "name": "ohos.permission.MANAGE_ADMIN", + "grantMode": "system_grant", + "availableLevel": "system_basic", + "provisionEnable": false, + "distributedSceneEnable": false + }, + { + "name": "ohos.permission.EDM_MANAGE_DATETIME", + "grantMode": "system_grant", + "availableLevel": "normal", + "provisionEnable": false, + "distributedSceneEnable": false } ] } From d663ee8e9481cd727c8467d051ee3a2c908aac7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E6=98=8E=E6=B8=AF?= Date: Mon, 21 Mar 2022 12:38:26 +0000 Subject: [PATCH 2/2] update systemres/main/config.json. Signed-off-by: caiminggang --- systemres/main/config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/systemres/main/config.json b/systemres/main/config.json index 72637ac..9f14ed8 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -916,11 +916,11 @@ { "name": "ohos.permission.MANAGE_ADMIN", "grantMode": "system_grant", - "availableLevel": "system_basic", - "provisionEnable": false, + "availableLevel": "system_core", + "provisionEnable": true, "distributedSceneEnable": false }, - { + { "name": "ohos.permission.EDM_MANAGE_DATETIME", "grantMode": "system_grant", "availableLevel": "normal",