1# Access Token Changelog
2## cl.access_token.1 Change of permissionFlags in grantUserGrantedPermission and revokeUserGrantedPermission
3
4**Access Level**
5
6Public
7
8**Reason for Change**
9
10The values **0** and **4** of **permissionFlags** are deleted because they are not used in actual applications.
11In addition, error codes are returned, and the value **64** is added.
12
13**Change Impact**
14
15This change is a non-compatible change.
16If the value **0** or **4** is passed in for **permissionFlags** in **grantUserGrantedPermission** or **revokeUserGrantedPermission**, an error code will be returned. You need to check for such cases, and pass in the correct value for **permissionFlags**.
17
18**API level**
19
208
21
22**Change Since**
23
24OpenHarmony SDK 4.1.5.5
25
26**Key API/Component Changes**
27
28**grantUserGrantedPermission** and **revokeUserGrantedPermission** in @ohos.abilityAccessCtrl.d.ts.
29
30**Adaptation Guide**
31
32For details about the sample code, see [grantUserGrantedPermission](../../../application-dev/reference/apis-ability-kit/js-apis-abilityAccessCtrl-sys.md#grantusergrantedpermission) and [revokeUserGrantedPermission](../../../application-dev/reference/apis-ability-kit/js-apis-abilityAccessCtrl-sys.md#revokeusergrantedpermission).
33