• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Open system_grant Permissions
2
3<!--Kit: ArkUI-->
4<!--Subsystem: Security-->
5<!--Owner: @harylee-->
6<!--SE: @linshuqing; @hehehe-li-->
7<!--TSE: @leiyuqian-->
8
9All the permissions in this topic are available to all applications and granted by the system.
10
11After an application requests this type of permissions, the system automatically grants the permissions to the application when the application is installed.
12
13<!--Del-->
14> **NOTE**
15> "Enable via ACL" is not involved for permissions of the normal level.
16<!--DelEnd-->
17
18## Request Mode
19
20The [system_grant permissions](app-permission-mgmt-overview.md#system_grant-system-authorization) are permissions authorized by the system. For details about how to request this type of permissions, see [Declaring Permissions](declare-permissions.md).
21
22## ohos.permission.USE_BLUETOOTH
23
24Allows an application to access Bluetooth configurations,
25
26including the Bluetooth name, Bluetooth device type, and switch status.
27
28**Permission level**: normal
29
30**Authorization mode**: system_grant
31
32**Valid since**: 8
33
34## ohos.permission.GET_BUNDLE_INFO
35
36Allows an application to obtain basic information about another application.
37
38**Permission level**: normal
39
40**Authorization mode**: system_grant
41
42**Valid since**: 7
43
44## ohos.permission.PREPARE_APP_TERMINATE
45
46Allows an application to perform customized actions before being terminated.
47
48For example, the application can confirm with the user whether to terminate it through a pop-up window.
49
50**Permission level**: normal
51
52**Authorization mode**: system_grant
53
54**Valid since**: 10
55
56## ohos.permission.PRINT
57
58Allows an application to obtain the print framework capability.
59
60**Permission level**: normal
61
62**Authorization mode**: system_grant
63
64**Valid since**: 10
65
66## ohos.permission.DISCOVER_BLUETOOTH
67
68Allows an application to configure Bluetooth on a device, initiate or cancel a scan for Bluetooth devices, and pair with Bluetooth devices.
69
70
71
72**Permission level**: normal
73
74**Authorization mode**: system_grant
75
76**Valid since**: 8
77
78## ohos.permission.ACCELEROMETER
79
80Allows an application to read data from an acceleration sensor, uncalibrated acceleration sensor, or linear acceleration sensor.
81
82
83
84**Permission level**: normal
85
86**Authorization mode**: system_grant
87
88**Valid since**: 7
89
90## ohos.permission.ACCESS_BIOMETRIC
91
92Allows an application to use biometric recognition for identity authentication.
93
94This permission allows the following operations: check the biometric recognition capability of the device, customize the authentication dialog box, start biometric recognition, and obtain biometric recognition prompts.
95
96**Permission level**: normal
97
98**Authorization mode**: system_grant
99
100**Valid since**: 6
101
102## ohos.permission.ACCESS_NOTIFICATION_POLICY
103
104Allows an application to access the notification policy on the device.
105
106This permission is required only when the ringtone needs to be changed from mute to unmute.
107
108**Permission level**: normal
109
110**Authorization mode**: system_grant
111
112**Valid since**: 7
113
114## ohos.permission.GET_NETWORK_INFO
115
116Allows an application to obtain network information.
117
118**Permission level**: normal
119
120**Authorization mode**: system_grant
121
122**Valid since**: 8
123
124## ohos.permission.SET_NETWORK_INFO
125
126Allows an application to set data network information.
127
128With this permission, the application can activate or deactivate a network, and obtain and listen for network information.
129
130**Permission level**: normal
131
132**Authorization mode**: system_grant
133
134**Valid since**: 8
135
136## ohos.permission.GET_WIFI_INFO
137
138Allows an application to obtain Wi-Fi information.
139
140The Wi-Fi information includes whether Wi-Fi is enabled, scan results, connection information, connection state, device capability, and peer-to-peer (P2P) state.
141
142**Permission level**: normal
143
144**Authorization mode**: system_grant
145
146**Valid since**: 8
147
148## ohos.permission.GYROSCOPE
149
150Allows an application to read data from a gyroscope sensor or uncalibrated gyroscope sensor.
151
152
153
154**Permission level**: normal
155
156**Authorization mode**: system_grant
157
158**Valid since**: 7
159
160## ohos.permission.INTERNET
161
162Allows an application to access the Internet.
163
164**Permission level**: normal
165
166**Authorization mode**: system_grant
167
168**Valid since**: 9
169
170## ohos.permission.KEEP_BACKGROUND_RUNNING
171
172Allows a Service ability to keep running in the background.
173
174**Permission level**: normal
175
176**Authorization mode**: system_grant
177
178**Valid since**: 8
179
180## ohos.permission.NFC_CARD_EMULATION
181
182Allows an application to implement card emulation.
183
184With this permission, the application can register the card emulation service and perform card emulation transactions.
185
186**Permission level**: normal
187
188**Authorization mode**: system_grant
189
190**Valid since**: 8
191
192## ohos.permission.NFC_TAG
193
194Allows an application to read and write NFC tags.
195
196With this permission, the application can receive a tag, and read data from and write data to a tag.
197
198**Permission level**: normal
199
200**Authorization mode**: system_grant
201
202**Valid since**: 7
203
204## ohos.permission.PRIVACY_WINDOW
205
206Allows an application to set screens that cannot be captured or recorded.
207
208**Permission level**: normal
209
210**Authorization mode**: system_grant
211
212**Valid since**: 9
213
214**Changelog**: The permission level is system_basic in API versions 9 to 10 and changed to normal since API version 11.
215
216## ohos.permission.PUBLISH_AGENT_REMINDER
217
218Allows an application to use agent-powered reminders.
219
220**Permission level**: normal
221
222**Authorization mode**: system_grant
223
224**Valid since**: 7
225
226## ohos.permission.SET_WIFI_INFO
227
228Allows an application to set a Wi-Fi device,
229
230including scanning, enabling/disabling, connecting, and disabling Wi-Fi, modifying Wi-Fi settings, and using Wi-Fi P2P capabilities.
231
232**Permission level**: normal
233
234**Authorization mode**: system_grant
235
236**Valid since**: 8
237
238## ohos.permission.VIBRATE
239
240Allows an application to control vibration,
241
242including one-time vibration, preset vibration, or custom vibration.
243
244**Permission level**: normal
245
246**Authorization mode**: system_grant
247
248**Valid since**: 7
249
250## ohos.permission.CLEAN_BACKGROUND_PROCESSES
251
252Allows an application to clear background processes based on their bundle names.
253
254With this permission, the application can detect associated background tasks based on the bundle names and selectively terminate these tasks to release system resources or optimize performance.
255
256**Permission level**: normal
257
258**Authorization mode**: system_grant
259
260**Valid since**: 7
261
262## ohos.permission.COMMONEVENT_STICKY
263
264Allows an application to publish sticky common events.
265
266With this permission, the application can publish sticky common events, so that subscribers can receive common events that have been sent before subscription.
267
268**Permission level**: normal
269
270**Authorization mode**: system_grant
271
272**Valid since**: 7
273
274## ohos.permission.MODIFY_AUDIO_SETTINGS
275
276Allows an application to modify audio settings.
277
278**Permission level**: normal
279
280**Authorization mode**: system_grant
281
282**Valid since**: 8
283
284## ohos.permission.RUNNING_LOCK
285
286Allows an application to obtain a running lock.
287
288**Permission level**: normal
289
290**Authorization mode**: system_grant
291
292**Valid since**: 7
293
294## ohos.permission.SET_WALLPAPER
295
296Allows an application to set wallpapers.
297
298**Permission level**: normal
299
300**Authorization mode**: system_grant
301
302**Valid since**: 7
303
304## ohos.permission.ACCESS_CERT_MANAGER
305
306Allows an application to query certificates and private credentials.
307
308**Permission level**: normal
309
310**Authorization mode**: system_grant
311
312**Valid since**: 9
313
314## ohos.permission.hsdr.HSDR_ACCESS
315
316Allows an application to access OpenHarmony Security Detection and Response Framework.
317
318**Permission level**: normal
319
320**Authorization mode**: system_grant
321
322**Valid since**: 10
323
324## ohos.permission.RUN_DYN_CODE
325
326Allows an application to run dynamically delivered ArkCompiler bytecode when the ArkCompiler runtime engine is in restricted mode.
327
328The APIs related to this permission are system APIs, and this permission is available only to specific system applications.
329
330**Permission level**: normal
331
332**Authorization mode**: system_grant
333
334**Valid since**: 11
335
336## ohos.permission.READ_CLOUD_SYNC_CONFIG
337
338Allows an application that has accessed the cloud to obtain its device-cloud synchronization configuration.
339
340**Permission level**: normal
341
342**Authorization mode**: system_grant
343
344**Valid since**: 11
345
346## ohos.permission.STORE_PERSISTENT_DATA
347
348Allows an application to store persistent data. The persistent data will be cleared only when the device's factory settings are restored or the system is reinstalled.
349
350**Permission level**: normal
351
352**Authorization mode**: system_grant
353
354**Valid since**: 11
355
356## ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER
357
358Allows an application to use enhanced functions of the devices connected to this device.
359
360**Permission level**: normal
361
362**Authorization mode**: system_grant
363
364**Valid since**: 11
365
366## ohos.permission.READ_ACCOUNT_LOGIN_STATE
367
368Allows an application to read the login status of user accounts.
369
370**Permission level**: normal
371
372**Authorization mode**: system_grant
373
374**Valid since**: 12
375
376## ohos.permission.ACCESS_SERVICE_NAVIGATION_INFO
377
378Allows an application to access the navigation service.
379
380**Permission level**: normal
381
382**Authorization mode**: system_grant
383
384**Valid since**: 12
385
386## ohos.permission.PROTECT_SCREEN_LOCK_DATA
387
388Allows an application to protect its sensitive data from being accessed after the screen is locked.
389
390After the application obtains this permission, a directory in **/el5** will be automatically created. Access to the data in this directory is denied after the screen is locked.
391
392**Permission level**: normal
393
394**Authorization mode**: system_grant
395
396**Valid since**: 12
397
398## ohos.permission.ACCESS_CAR_DISTRIBUTED_ENGINE
399
400Allows an application to access the distributed travel service engine.
401
402With this permission, the application can obtain the connection information between a phone and a head unit, such as the connection status and display ID.
403
404**Permission level**: normal
405
406**Authorization mode**: system_grant
407
408**Valid since**: 12
409
410## ohos.permission.WINDOW_TOPMOST
411
412Allows an application to set pinned windows.
413
414**Permission level**: normal
415
416**Authorization mode**: system_grant
417
418**Supported devices**: PCs/2-in-1 devices
419
420**Valid since**: 13
421
422## ohos.permission.MANAGE_INPUT_INFRARED_EMITTER
423
424Allows a system application to use infrared interfaces.
425
426With this permission, the application can obtain the maximum frequency supported by the infrared module and send infrared signals at a specific frequency.
427
428**Permission level**: normal
429
430**Authorization mode**: system_grant
431
432**Valid since**: 12
433
434**Changelog**: This permission is available to system applications in API versions 12 to 15, and available to normal applications since API version 16.
435
436## ohos.permission.INPUT_KEYBOARD_CONTROLLER
437
438Allows an application to set the status of keyboard function keys.
439
440With this permission, the application can turn on or off the function keys, such as **CapsLock**. This permission is available only to input method applications.
441
442**Permission level**: normal
443
444**Authorization mode**: system_grant
445
446**Valid since**: 15
447
448## ohos.permission.SET_ABILITY_INSTANCE_INFO
449
450Allows an application to set the icon and label information for each ability.
451
452The configured icon and label information can be displayed in **Task Center** and the shortcut bar.
453
454**Permission level**: normal
455
456**Authorization mode**: system_grant
457
458**Valid since**: 15
459
460## ohos.permission.NDK_START_SELF_UI_ABILITY
461
462Allows an application to start its UIAbility by using C APIs.
463
464Currently, this permission is available only to 2-in-1 device applications.
465
466**Permission level**: normal
467
468**Authorization mode**: system_grant
469
470**Valid since**: 15
471
472## ohos.permission.GET_FILE_ICON
473
474Allows an application to obtain the icon of the specified file type.
475
476With this permission, the application can obtain the icon of the specified file type.
477
478**Permission level**: normal
479
480**Authorization mode**: system_grant
481
482**Valid since**: 17
483
484## ohos.permission.DETECT_GESTURE
485
486Allows an application to detect gestures.
487
488With this permission, the application can detect information such as the user's holding posture and operating hand.
489
490**Permission level**: normal
491
492**Authorization mode**: system_grant
493
494**Valid since**: 20
495
496## ohos.permission.kernel.NET_RAW
497
498Allows an application to capture network data packets.
499
500With this permission, the application can capture network data packets only after being authenticated by the user.
501
502**Permission level**: normal
503
504**Authorization mode**: system_grant
505
506**Supported devices**: PCs/2-in-1 devices
507
508**Valid since**: 20
509
510## ohos.permission.kernel.DEBUGGER
511
512Allows an application to obtain the debugging capability.
513
514With this permission, the application can have the ptrace debugging capability as the main process.
515
516**Permission level**: normal
517
518**Authorization mode**: system_grant
519
520**Supported devices**: PCs/2-in-1 devices
521
522**Valid since**: 20
523
524## ohos.permission.kernel.ALLOW_DEBUG
525
526Allows a C/C++ program to be debugged.
527
528With this permission, the C/C++ program in the application can be debugged. However, the runtime memory may be dumped. Exercise caution when using this permission.
529
530**Permission level**: normal
531
532**Authorization mode**: system_grant
533
534**Supported devices**: PCs/2-in-1 devices
535
536**Valid since**: 20
537
538## ohos.permission.BACKGROUND_MANAGER_POWER_SAVE_MODE
539
540Allows an application to set the power saving mode for its own processes.
541
542This permission can be requested when the application meets the following conditions:
543- The application is not focused, and there are no audio operations or UI updates.
544- The application cannot obtain the power lock through the system framework.
545- The application needs to perform time-consuming computing tasks, such as compression, decompression, and compilation, which are significantly restricted by CPU resources. (In this case, the power saving mode will be enabled forcibly.)
546
547**Permission level**: normal
548
549**Authorization mode**: system_grant
550
551**Supported devices**: PCs/2-in-1 devices
552
553**Valid since**: 20
554
555## ohos.permission.SET_WINDOW_TRANSPARENT
556
557Allows an application to set the main window container to be transparent and remove the shadow of the outer border of the main window.
558
559With this permission, the application can set the background color the shadow visibility of the main window.
560
561**Permission level**: normal
562
563**Authorization mode**: system_grant
564
565**Supported devices**: PCs/2-in-1 devices
566
567**Valid since**: 20
568
569## ohos.permission.kernel.IGNORE_LIBRARY_VALIDATION
570
571Allows an independent binary program to load independent binary .so files with different owner IDs.
572
573This permission applies only to independent binary programs, not to HAPs.
574
575**Permission level**: normal
576
577**Authorization mode**: system_grant
578
579**Supported devices**: PCs/2-in-1 devices
580
581**Valid since**: 20
582