• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Application Access Control Changelog
2
3
4## cl.accessToken.1 Change of the Media and Files Permission Group
5
6The original **Media and File** permission group contains the following permissions:
7
8- ohos.permission.MEDIA_LOCATION
9
10- ohos.permission.READ_MEDIA
11
12- ohos.permission.WRITE_MEDIA
13
14Changed the permission group as follows:
15
16- Moved **ohos.permission.MEDIA_LOCATION** to the **Images and Videos** permission group.
17
18- Moved **ohos.permission.READ_MEDIA** and **ohos.permission.WRITE_MEDIA** to the **Documents** permission group.
19
20**Change Impact**
21
22The permission group rather than the permission is presented in the dialog box for requesting permissions.
23
24- Before the change, if the three permissions are applied for an application, a dialog box for requesting the media and file permissions will be displayed only once.
25
26- After the change, if the three permissions are applied for an application, a dialog box for requesting the **Images and Videos** permissions and a dialog box for requesting the **Documents** permission will be displayed.
27
28**Key API/Component Changes**
29
30Permission groups before the change:
31
32| Permission  | Permission Group                        |
33| -------- | -------- |
34| ohos.permission.MEDIA_LOCATION | Media and files|
35| ohos.permission.READ_MEDIA | Media and files|
36| ohos.permission.WRITE_MEDIA | Media and files|
37
38Permission groups after the change:
39
40| Permission  | Permission Group                        |
41| -------- | -------- |
42| ohos.permission.MEDIA_LOCATION | Images and videos|
43| ohos.permission.READ_MEDIA | Documents|
44| ohos.permission.WRITE_MEDIA | Documents|
45
46**Adaptation Guide**
47
48N/A
49
50
51## cl.accessToken.2 Change of the Permission Requesting Modes of the Phone, Messaging, and Call Logs Permission Groups
52
53The **Phone**, **Messaging**, and **Call logs** permission groups contain the following permissions:
54
55- ohos.permission.ANSWER_CALL
56
57- ohos.permission.MANAGE_VOICEMAIL
58
59- ohos.permission.READ_CELL_MESSAGES
60
61- ohos.permission.READ_MESSAGES
62
63- ohos.permission.RECEIVE_MMS
64
65- ohos.permission.RECEIVE_SMS
66
67- ohos.permission.RECEIVE_WAP_MESSAGES
68
69- ohos.permission.SEND_MESSAGES
70
71- ohos.permission.READ_CALL_LOG
72
73- ohos.permission.WRITE_CALL_LOG
74
75- ohos.permission.MEDIA_LOCATION
76
77These permissions can be pre-authorized only.
78
79**Change Impact**
80
81Instead of requesting these permissions through a pop-up window, the system applications can obtain the permissions only in pre-authorization mode.
82
83**Key API/Component Changes**
84
85N/A.
86
87**Adaptation Guide**
88
89These permissions can be pre-authorized only.
90