From 4471263039b3604dc30a2ae26adbe4891ae68a86 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 7a70afa1..7b0ec51f 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 } ] } -- Gitee From bd6768cc8631d9071c91d5168541b519c8f30319 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 72637ac4..9f14ed89 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", -- Gitee