diff --git a/systemres/main/config.json b/systemres/main/config.json index 238342d1d9af4309c6e4e3b5725a9f1bd2336858..5b03f8cb44b371f8ab5fe7939e515d70dad2b7d8 100644 --- a/systemres/main/config.json +++ b/systemres/main/config.json @@ -449,6 +449,15 @@ "label": "$string:ohos_lab_manage_local_accounts", "description": "$string:ohos_desc_manage_local_accounts" }, + { + "name": "ohos.permission.GET_ALL_APP_ACCOUNTS", + "grantMode": "system_grant", + "availableLevel": "system_basic", + "provisionEnable": false, + "distributedSceneEnable": false, + "label": "$string:ohos_get_all_app_accounts", + "description": "$string:ohos_desc_get_all_app_accounts" + }, { "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS", "grantMode": "system_grant", diff --git a/systemres/main/resources/base/element/id_defined.json b/systemres/main/resources/base/element/id_defined.json index a55af045eceb5d07d095d48f178032ae322097a9..57e80c44f8a40769d814cd37af5e6311d0d9bb5c 100644 --- a/systemres/main/resources/base/element/id_defined.json +++ b/systemres/main/resources/base/element/id_defined.json @@ -3760,6 +3760,16 @@ "type": "float", "name":"ohos_fa_text_size_huge", "order":751 + }, + { + "type": "string", + "name": "ohos_get_all_app_accounts", + "order": 752 + }, + { + "type": "string", + "name": "ohos_desc_get_all_app_accounts", + "order": 753 } ] } \ No newline at end of file diff --git a/systemres/main/resources/base/element/string.json b/systemres/main/resources/base/element/string.json index 74ec05374a30882c74906f56b681ba0ef08e08e2..48eafabba8bc2aa6aae2058fc3a5687cefd331eb 100644 --- a/systemres/main/resources/base/element/string.json +++ b/systemres/main/resources/base/element/string.json @@ -300,10 +300,18 @@ "name": "ohos_lab_manage_local_accounts", "value": "Manage local accounts" }, + { + "name": "ohos_get_all_app_accounts", + "value": "Get all app accounts" + }, { "name": "ohos_desc_manage_local_accounts", "value": "Allows an application to add, delete, modify, and query local accounts." }, + { + "name": "ohos_desc_get_all_app_accounts", + "value": "Allows an application to get all app accounts." + }, { "name": "ohos_lab_interact_across_local_accounts", "value": "Multi-account mutual access" diff --git a/systemres/main/resources/zh_CN/element/string.json b/systemres/main/resources/zh_CN/element/string.json index 92580a5e26a38bd47a05077de695322483e6ab22..648c427fb98c1b7991e10c970f18c74fdeb067a8 100644 --- a/systemres/main/resources/zh_CN/element/string.json +++ b/systemres/main/resources/zh_CN/element/string.json @@ -292,10 +292,18 @@ "name": "ohos_lab_manage_local_accounts", "value": "管理本地账户" }, + { + "name": "ohos_get_all_app_accounts", + "value": "获取所有应用帐号" + }, { "name": "ohos_desc_manage_local_accounts", "value": "允许应用对本地账户的增删改查。" }, + { + "name": "ohos_desc_get_all_app_accounts", + "value": "允许获取所有应用帐号信息。" + }, { "name": "ohos_lab_interact_across_local_accounts", "value": "多账户间相互访问"