/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.3.1/ |
H A D | changelogs-bundlemanager.md | 11 The MDM permission can be granted only to MDM applications. 15 Non-MDM applications granted with the MDM permission cannot be installed. 21 …blob/master/systemres/main/config.json) is used to determine whether the MDM permission is granted. 22 * If **availableType** is **MDM**, the MDM permission is granted. 23 * If **availableType** is not **MDM**, the MDM permission is not granted.
|
/ohos5.0/base/security/permission_lite/services/pms/src/ |
H A D | perm_operate.c | 33 return (int)cur->permList[i].granted; in PermissionIsGranted() 41 int ModifyPermission(TNode *node, const char *permission, const enum IsGranted granted) in ModifyPermission() argument 49 node->permList[i].granted = granted; in ModifyPermission()
|
H A D | pms_impl.c | 159 perms->granted = (enum IsGranted)itemGranted->valueint; in ParseFixedPermissionsItem() 257 cJSON_AddItemToObject(object, FIELD_IS_GRANTED, cJSON_CreateBool(permissions[i].granted)); in SavePermissions() 417 updatePerms[i].granted = NOT_GRANTED; in UpdateAppPermission() 420 updatePerms[i].granted = (permType == SYSTEM_GRANT) ? GRANTED : NOT_GRANTED; in UpdateAppPermission() 424 updatePerms[i].granted = permissions[j].granted; in UpdateAppPermission() 593 …nt OnPermissionFileSync(const char *identifier, const char *permName, const enum IsGranted granted) in OnPermissionFileSync() argument 605 isSave = permissions[i].granted ^ granted; in OnPermissionFileSync() 606 permissions[i].granted = granted; in OnPermissionFileSync()
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | _ability_access_control.md | 25 …n)(const char \*permission) | Checks whether the specified permission is granted to the applicatio… 38 Checks whether the specified permission is granted to the application. 50 Returns **true** if the permission has been granted to the application; returns **false** otherwise.
|
H A D | errorcode-access-token.md | 99 The specified application does not support the permissions granted or ungranted as specified. 109 …andbox application works in restrictive mode. Most permissions cannot be granted to a sandbox appl… 176 All permissions in the permission list have been granted. 180 All requested permissions have been granted. 184 No action is required. If this error code is returned, the permission has been granted and the perm…
|
H A D | js-apis-permissionrequestresult.md | 17 …granted. If **dialogShownResults** is **true**, it is the first time that the user requests the pe…
|
H A D | js-apis-uripermissionmanager-sys.md | 3 … module provides APIs for granting permissions on a file or revoking the granted permission from a… 38 …rgetBundleName | string | Yes| Bundle name of the application, to which the permission is granted.| 97 …rgetBundleName | string | Yes| Bundle name of the application, to which the permission is granted.| 151 …on of another application obtained by this application or URI permission granted by this applicati… 196 …on of another application obtained by this application or URI permission granted by this applicati…
|
H A D | js-apis-abilityAccessCtrl-sys.md | 38 …the permission. The permission must be granted by the user in **Settings**.<br>- **64**: The permi… 58 | 12100006 | The application specified by the tokenID is not allowed to be granted with the specifi… 95 …the permission. The permission must be granted by the user in **Settings**.<br>- **64**: The permi… 96 …| Grants a user_grant permission to an application. If the permission is granted, **err** is **und… 110 | 12100006 | The application specified by the tokenID is not allowed to be granted with the specifi… 149 …the permission. The permission must be granted by the user in **Settings**.<br>- **64**: The permi… 206 …the permission. The permission must be granted by the user in **Settings**.<br>- **64**: The permi… 652 | DENIED | -1 | The permission is not granted.| 653 | GRANTED | 0 | The permission is granted.|
|
H A D | ability__access__control_8h.md | 26 …) (const char \*permission) | Checks whether the specified permission is granted to the applicatio…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.3/ |
H A D | changelogs-access_token.md | 10 … and the **ohos.permission.LOCATION_IN_BACKGROUND** permission cannot be granted separately in a d… 12 …uires **ohos.permission.LOCATION_IN_BACKGROUND**, the permission must be granted by the user in **… 32 After the change:<br>The **ohos.permission.LOCATION_IN_BACKGROUND** permission cannot be granted by… 36 …ion.LOCATION_IN_BACKGROUND** permission is granted when the **ohos.permission.LOCATION** permissio… 38 After the change:<br>The **ohos.permission.LOCATION_IN_BACKGROUND** permission cannot be granted by… 46 …Allow only while in use** is selected, only the **ohos.permission.LOCATION** permission is granted. 159 …b) After the user has granted the foreground location permissions, a dialog box is displayed, info…
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | _file_share___policy_error_result.md | 20 | char \* [uri](#uri) | Pointer to the URI, for which the permission fails to be granted or activat… 52 Pointer to the URI, for which the permission fails to be granted or activated.
|
H A D | _file_share___policy_info.md | 20 | char \* [uri](#uri) | Pointer to the URI of the file, on which the permission is to be granted or… 66 Pointer to the URI of the file, on which the permission is to be granted or activated.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | errorcode-access-token.md | 100 The specified application does not support the permissions granted or ungranted as specified. 178 All permissions in the permission list have been granted.
|
/ohos5.0/docs/en/application-dev/security/AccessToken/ |
H A D | request-user-authorization.md | 12 …s to access the target object. The API first checks whether the user has granted the permission re… 14 4. Check the user authorization result, and allow the next step only after the user has granted the… 31 …is-abilityAccessCtrl.md#checkaccesstoken9) to check whether the user has granted specific permissi… 33 …sCtrl.md#requestpermissionsfromuser9) to check whether the user has already granted the permission. 35 …After a permission is granted, the user may revoke the permission in **Settings**. Therefore, the … 50 2. Check whether the user has granted the permissions. 52 …tyAccessCtrl.md#checkaccesstoken9) to check whether the user has already granted the permissions t… 73 // Check whether the user has granted the permission.
|
H A D | permissions-for-all-user.md | 3 All the permissions in this topic are available to all applications and granted by the user. 5 …the application. The application has the permission only after the user has granted the permission. 14 …rmission-mgmt-overview.md#user_grant-user-authorization) are permissions granted by users. For det… 80 For security purposes, this permission cannot be granted to applications in a dialog box. If an app… 91 4. The permission is granted to the application if the user selects **Always allow** on the **Setti…
|
H A D | determine-application-mode.md | 14 - A system_grant permission is pre-granted when the application is installed. 18 …equesting user authorization. This API first checks whether the user has granted the permission re… 19 …uthorization result. Allow subsequent operations only after the user has granted the permission to…
|
H A D | app-permissions.md | 9 …The permissions are available to all applications and granted by the system. After an application … 13 …The permissions are available to all applications and granted by the user. After an application re…
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-security-rightmanagement.md | 25 …granted by the system during application installation. The sensitivity level of this type of permi… 33 …t component to check whether the required permission is granted. If the permission is not granted,… 46 …ions requested by the application and checks whether the requested permissions have been granted.| 149 // Check whether the ohos.permission.INSTALL_BUNDLE permission has been granted.
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | errorcode-usb.md | 15 …s reported if a certain API of the USB module is called but the required permission is not granted. 19 The permission to access the USB device is not granted. 37 The USB debugging permission is not granted.
|
/ohos5.0/docs/en/application-dev/media/medialibrary/ |
H A D | photoAccessHelper-preparation.md | 32 …questpermissionsfromuser9) to check whether the required permissions are granted by the user. If y… 43 …ser has granted the permission, the permission will still be checked before an API protected by th…
|
/ohos5.0/docs/en/application-dev/reference/apis-accessibility-kit/ |
H A D | errorcode-accessibility.md | 55 …lication performs an accessibility operation for which the related permission has not been granted. 59 The permission for performing the accessibility operation is not granted when the accessibility app…
|
/ohos5.0/base/security/permission_lite/services/pms/include/ |
H A D | perm_operate.h | 23 int ModifyPermission(TNode *node, const char *permission, const enum IsGranted granted);
|
/ohos5.0/base/security/permission_lite/interfaces/kits/ |
H A D | pms_types.h | 108 enum IsGranted granted; member
|
/ohos5.0/docs/en/application-dev/reference/apis-backgroundtasks-kit/ |
H A D | js-apis-deviceUsageStatistics.md | 22 …plication can check the idle state of other applications only when it is granted with the ohos.per… 51 …plication can check the idle state of other applications only when it is granted with the ohos.per…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | errorcode-se.md | 51 SecurityError, the calling application cannot be granted access to this AID or the default applet o…
|