From 9547836e9e2f19668fb7f727a4e364a9e8c43c28 Mon Sep 17 00:00:00 2001 From: caiminggang Date: Mon, 21 Mar 2022 15:07:55 +0800 Subject: [PATCH 1/2] add enteprise device manager 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 57e4cde..72637ac 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -912,6 +912,20 @@ "availableLevel": "system_basic", "provisionEnable": false, "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 94f89a03af380c7bf672b6be7cbbddb65130a63a 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:37:48 +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",