From 6a15ec5341e739ef35e334e8b6a6917051c0eefc Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Wed, 3 Aug 2022 09:15:49 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/application-dev/security/accesstoken-guidelines.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/application-dev/security/accesstoken-guidelines.md b/en/application-dev/security/accesstoken-guidelines.md index 2e706b7617..f6ef8fc8ba 100644 --- a/en/application-dev/security/accesstoken-guidelines.md +++ b/en/application-dev/security/accesstoken-guidelines.md @@ -24,13 +24,13 @@ The table below lists only the API used in this guide. For more information, see ## Declaring Permissions -Declare the permissions required by the app one by one in the project configuration file. The app cannot obtain the permissions that are not declared in the configuration file. The ability framework provides two models: Feature Ability (FA) model and Stage model. For more information, see [Ability Framework Overview](../ability/ability-brief.md). +Declare the permissions required by the app one by one in the project configuration file. The app cannot obtain the permissions that are not declared in the configuration file. The ability framework provides two models: Feature Ability (FA) model and stage model. For more information, see [Ability Framework Overview](../ability/ability-brief.md). Note that the app bundle structure and configuration file vary with the ability framework model. ### FA Model -For the apps based on the FA model, declare the permissions in the **config.json** file. +For the apps based on the FA model, declare the required permissions in the **config.json** file. **Description of config.json** @@ -75,7 +75,7 @@ For the apps based on the FA model, declare the permissions in the **config.json ### Stage Model -For the apps based on the stage model, declare the permissions in the **module.json5** file. +For the apps based on the stage model, declare the required permissions in the **module.json5** file. **Example** -- GitLab