1e41f4b71Sopenharmony_ci# Permissions for All Applications 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciBefore requesting permissions for your application, read and understand the [Workflow for Using Permissions](determine-application-mode.md) and this topic to determine the permissions required. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> "Enable via ACL" is not involved for permissions of the normal level. 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## system_grant Permissions 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciThe [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). 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci### ohos.permission.USE_BLUETOOTH 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciAllows an application to access Bluetooth configurations. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ci**Permission level**: normal 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**Valid since**: 8 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci### ohos.permission.GET_BUNDLE_INFO 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ciAllows an application to obtain basic information about another application. 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Permission level**: normal 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci**Valid since**: 7 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci### ohos.permission.PREPARE_APP_TERMINATE 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ciAllows an application to perform customized actions before being terminated. 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ci**Permission level**: normal 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci**Valid since**: 10 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci### ohos.permission.PRINT 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ciAllows an application to obtain the print framework capability. 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci**Permission level**: normal 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci**Valid since**: 10 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci### ohos.permission.DISCOVER_BLUETOOTH 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ciAllows an application to configure Bluetooth on a device, initiate or cancel a scan for Bluetooth devices, and pair with Bluetooth devices. 56e41f4b71Sopenharmony_ci 57e41f4b71Sopenharmony_ci**Permission level**: normal 58e41f4b71Sopenharmony_ci 59e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 60e41f4b71Sopenharmony_ci 61e41f4b71Sopenharmony_ci**Valid since**: 8 62e41f4b71Sopenharmony_ci 63e41f4b71Sopenharmony_ci### ohos.permission.ACCELEROMETER 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ciAllows an application to read data from an acceleration sensor, uncalibrated acceleration sensor, or linear acceleration sensor. 66e41f4b71Sopenharmony_ci 67e41f4b71Sopenharmony_ci**Permission level**: normal 68e41f4b71Sopenharmony_ci 69e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci**Valid since**: 7 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_BIOMETRIC 74e41f4b71Sopenharmony_ci 75e41f4b71Sopenharmony_ciAllows an application to use biometric recognition for identity authentication. 76e41f4b71Sopenharmony_ci 77e41f4b71Sopenharmony_ci**Permission level**: normal 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 80e41f4b71Sopenharmony_ci 81e41f4b71Sopenharmony_ci**Valid since**: 6 82e41f4b71Sopenharmony_ci 83e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_NOTIFICATION_POLICY 84e41f4b71Sopenharmony_ci 85e41f4b71Sopenharmony_ciAllows an application to access the notification policy on the device. 86e41f4b71Sopenharmony_ci 87e41f4b71Sopenharmony_ciThis permission is required only when the ringtone needs to be changed from mute to unmute. 88e41f4b71Sopenharmony_ci 89e41f4b71Sopenharmony_ci**Permission level**: normal 90e41f4b71Sopenharmony_ci 91e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 92e41f4b71Sopenharmony_ci 93e41f4b71Sopenharmony_ci**Valid since**: 7 94e41f4b71Sopenharmony_ci 95e41f4b71Sopenharmony_ci### ohos.permission.GET_NETWORK_INFO 96e41f4b71Sopenharmony_ci 97e41f4b71Sopenharmony_ciAllows an application to obtain network information. 98e41f4b71Sopenharmony_ci 99e41f4b71Sopenharmony_ci**Permission level**: normal 100e41f4b71Sopenharmony_ci 101e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 102e41f4b71Sopenharmony_ci 103e41f4b71Sopenharmony_ci**Valid since**: 8 104e41f4b71Sopenharmony_ci 105e41f4b71Sopenharmony_ci### ohos.permission.GET_WIFI_INFO 106e41f4b71Sopenharmony_ci 107e41f4b71Sopenharmony_ciAllows an application to obtain Wi-Fi information. 108e41f4b71Sopenharmony_ci 109e41f4b71Sopenharmony_ci**Permission level**: normal 110e41f4b71Sopenharmony_ci 111e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 112e41f4b71Sopenharmony_ci 113e41f4b71Sopenharmony_ci**Valid since**: 8 114e41f4b71Sopenharmony_ci 115e41f4b71Sopenharmony_ci### ohos.permission.GYROSCOPE 116e41f4b71Sopenharmony_ci 117e41f4b71Sopenharmony_ciAllows an application to read data from a gyroscope sensor or uncalibrated gyroscope sensor. 118e41f4b71Sopenharmony_ci 119e41f4b71Sopenharmony_ci**Permission level**: normal 120e41f4b71Sopenharmony_ci 121e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 122e41f4b71Sopenharmony_ci 123e41f4b71Sopenharmony_ci**Valid since**: 7 124e41f4b71Sopenharmony_ci 125e41f4b71Sopenharmony_ci### ohos.permission.INTERNET 126e41f4b71Sopenharmony_ci 127e41f4b71Sopenharmony_ciAllows an application to access the Internet. 128e41f4b71Sopenharmony_ci 129e41f4b71Sopenharmony_ci**Permission level**: normal 130e41f4b71Sopenharmony_ci 131e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 132e41f4b71Sopenharmony_ci 133e41f4b71Sopenharmony_ci**Valid since**: 9 134e41f4b71Sopenharmony_ci 135e41f4b71Sopenharmony_ci### ohos.permission.KEEP_BACKGROUND_RUNNING 136e41f4b71Sopenharmony_ci 137e41f4b71Sopenharmony_ciAllows a Service ability to keep running in the background. 138e41f4b71Sopenharmony_ci 139e41f4b71Sopenharmony_ci**Permission level**: normal 140e41f4b71Sopenharmony_ci 141e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 142e41f4b71Sopenharmony_ci 143e41f4b71Sopenharmony_ci**Valid since**: 8 144e41f4b71Sopenharmony_ci 145e41f4b71Sopenharmony_ci### ohos.permission.NFC_CARD_EMULATION 146e41f4b71Sopenharmony_ci 147e41f4b71Sopenharmony_ciAllows an application to implement card emulation. 148e41f4b71Sopenharmony_ci 149e41f4b71Sopenharmony_ci**Permission level**: normal 150e41f4b71Sopenharmony_ci 151e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 152e41f4b71Sopenharmony_ci 153e41f4b71Sopenharmony_ci**Valid since**: 8 154e41f4b71Sopenharmony_ci 155e41f4b71Sopenharmony_ci### ohos.permission.NFC_TAG 156e41f4b71Sopenharmony_ci 157e41f4b71Sopenharmony_ciAllows an application to read and write NFC tags. 158e41f4b71Sopenharmony_ci 159e41f4b71Sopenharmony_ci**Permission level**: normal 160e41f4b71Sopenharmony_ci 161e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 162e41f4b71Sopenharmony_ci 163e41f4b71Sopenharmony_ci**Valid since**: 7 164e41f4b71Sopenharmony_ci 165e41f4b71Sopenharmony_ci### ohos.permission.PRIVACY_WINDOW 166e41f4b71Sopenharmony_ci 167e41f4b71Sopenharmony_ciAllows an application to set screens that cannot be captured or recorded. 168e41f4b71Sopenharmony_ci 169e41f4b71Sopenharmony_ci**Permission level**: system_basic for API versions 9 to 10; normal for API version 11 and later 170e41f4b71Sopenharmony_ci 171e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 172e41f4b71Sopenharmony_ci 173e41f4b71Sopenharmony_ci**Valid since**: 9 174e41f4b71Sopenharmony_ci 175e41f4b71Sopenharmony_ci### ohos.permission.PUBLISH_AGENT_REMINDER 176e41f4b71Sopenharmony_ci 177e41f4b71Sopenharmony_ciAllows an application to use agent-powered reminders. 178e41f4b71Sopenharmony_ci 179e41f4b71Sopenharmony_ci**Permission level**: normal 180e41f4b71Sopenharmony_ci 181e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 182e41f4b71Sopenharmony_ci 183e41f4b71Sopenharmony_ci**Valid since**: 7 184e41f4b71Sopenharmony_ci 185e41f4b71Sopenharmony_ci### ohos.permission.SET_WIFI_INFO 186e41f4b71Sopenharmony_ci 187e41f4b71Sopenharmony_ciAllows an application to set a Wi-Fi device. 188e41f4b71Sopenharmony_ci 189e41f4b71Sopenharmony_ci**Permission level**: normal 190e41f4b71Sopenharmony_ci 191e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 192e41f4b71Sopenharmony_ci 193e41f4b71Sopenharmony_ci**Valid since**: 8 194e41f4b71Sopenharmony_ci 195e41f4b71Sopenharmony_ci### ohos.permission.VIBRATE 196e41f4b71Sopenharmony_ci 197e41f4b71Sopenharmony_ciAllows an application to control vibration. 198e41f4b71Sopenharmony_ci 199e41f4b71Sopenharmony_ci**Permission level**: normal 200e41f4b71Sopenharmony_ci 201e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 202e41f4b71Sopenharmony_ci 203e41f4b71Sopenharmony_ci**Valid since**: 7 204e41f4b71Sopenharmony_ci 205e41f4b71Sopenharmony_ci### ohos.permission.CLEAN_BACKGROUND_PROCESSES 206e41f4b71Sopenharmony_ci 207e41f4b71Sopenharmony_ciAllows an application to clear background processes based on their bundle names. 208e41f4b71Sopenharmony_ci 209e41f4b71Sopenharmony_ci**Permission level**: normal 210e41f4b71Sopenharmony_ci 211e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 212e41f4b71Sopenharmony_ci 213e41f4b71Sopenharmony_ci**Valid since**: 7 214e41f4b71Sopenharmony_ci 215e41f4b71Sopenharmony_ci### ohos.permission.COMMONEVENT_STICKY 216e41f4b71Sopenharmony_ci 217e41f4b71Sopenharmony_ciAllows an application to publish sticky common events. 218e41f4b71Sopenharmony_ci 219e41f4b71Sopenharmony_ci**Permission level**: normal 220e41f4b71Sopenharmony_ci 221e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 222e41f4b71Sopenharmony_ci 223e41f4b71Sopenharmony_ci**Valid since**: 7 224e41f4b71Sopenharmony_ci 225e41f4b71Sopenharmony_ci### ohos.permission.MODIFY_AUDIO_SETTINGS 226e41f4b71Sopenharmony_ci 227e41f4b71Sopenharmony_ciAllows an application to modify audio settings. 228e41f4b71Sopenharmony_ci 229e41f4b71Sopenharmony_ci**Permission level**: normal 230e41f4b71Sopenharmony_ci 231e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 232e41f4b71Sopenharmony_ci 233e41f4b71Sopenharmony_ci**Valid since**: 8 234e41f4b71Sopenharmony_ci 235e41f4b71Sopenharmony_ci### ohos.permission.RUNNING_LOCK 236e41f4b71Sopenharmony_ci 237e41f4b71Sopenharmony_ciAllows an application to obtain a running lock. 238e41f4b71Sopenharmony_ci 239e41f4b71Sopenharmony_ci**Permission level**: normal 240e41f4b71Sopenharmony_ci 241e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 242e41f4b71Sopenharmony_ci 243e41f4b71Sopenharmony_ci**Valid since**: 7 244e41f4b71Sopenharmony_ci 245e41f4b71Sopenharmony_ci### ohos.permission.SET_WALLPAPER 246e41f4b71Sopenharmony_ci 247e41f4b71Sopenharmony_ciAllows an application to set wallpapers. 248e41f4b71Sopenharmony_ci 249e41f4b71Sopenharmony_ci**Permission level**: normal 250e41f4b71Sopenharmony_ci 251e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 252e41f4b71Sopenharmony_ci 253e41f4b71Sopenharmony_ci**Valid since**: 7 254e41f4b71Sopenharmony_ci 255e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_CERT_MANAGER 256e41f4b71Sopenharmony_ci 257e41f4b71Sopenharmony_ciAllows an application to query certificates and private credentials. 258e41f4b71Sopenharmony_ci 259e41f4b71Sopenharmony_ci**Permission level**: normal 260e41f4b71Sopenharmony_ci 261e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 262e41f4b71Sopenharmony_ci 263e41f4b71Sopenharmony_ci**Valid since**: 9 264e41f4b71Sopenharmony_ci 265e41f4b71Sopenharmony_ci### ohos.permission.hsdr.HSDR_ACCESS 266e41f4b71Sopenharmony_ci 267e41f4b71Sopenharmony_ciAllows an application to access OpenHarmony Security Detection and Response Framework. 268e41f4b71Sopenharmony_ci 269e41f4b71Sopenharmony_ci**Permission level**: normal 270e41f4b71Sopenharmony_ci 271e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 272e41f4b71Sopenharmony_ci 273e41f4b71Sopenharmony_ci**Valid since**: 10 274e41f4b71Sopenharmony_ci 275e41f4b71Sopenharmony_ci### ohos.permission.RUN_DYN_CODE 276e41f4b71Sopenharmony_ci 277e41f4b71Sopenharmony_ciAllows an application to run dynamically delivered ArkCompiler bytecode when the ArkCompiler runtime engine is in restricted mode. 278e41f4b71Sopenharmony_ci 279e41f4b71Sopenharmony_ciThe APIs related to this permission are system APIs and are available only for specific system applications. 280e41f4b71Sopenharmony_ci 281e41f4b71Sopenharmony_ci**Permission level**: normal 282e41f4b71Sopenharmony_ci 283e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 284e41f4b71Sopenharmony_ci 285e41f4b71Sopenharmony_ci**Valid since**: 11 286e41f4b71Sopenharmony_ci 287e41f4b71Sopenharmony_ci### ohos.permission.READ_CLOUD_SYNC_CONFIG 288e41f4b71Sopenharmony_ci 289e41f4b71Sopenharmony_ciAllows an application that has accessed the cloud to obtain its device-cloud synchronization configuration. 290e41f4b71Sopenharmony_ci 291e41f4b71Sopenharmony_ci**Permission level**: normal 292e41f4b71Sopenharmony_ci 293e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 294e41f4b71Sopenharmony_ci 295e41f4b71Sopenharmony_ci**Valid since**: 11 296e41f4b71Sopenharmony_ci 297e41f4b71Sopenharmony_ci### ohos.permission.STORE_PERSISTENT_DATA 298e41f4b71Sopenharmony_ci 299e41f4b71Sopenharmony_ciAllows 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. 300e41f4b71Sopenharmony_ci 301e41f4b71Sopenharmony_ci**Permission level**: normal 302e41f4b71Sopenharmony_ci 303e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 304e41f4b71Sopenharmony_ci 305e41f4b71Sopenharmony_ci**Valid since**: 11 306e41f4b71Sopenharmony_ci 307e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_EXTENSIONAL_DEVICE_DRIVER 308e41f4b71Sopenharmony_ci 309e41f4b71Sopenharmony_ciAllows an application to use enhanced functions of the devices connected to this device. 310e41f4b71Sopenharmony_ci 311e41f4b71Sopenharmony_ci**Permission level**: normal 312e41f4b71Sopenharmony_ci 313e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 314e41f4b71Sopenharmony_ci 315e41f4b71Sopenharmony_ci**Valid since**: 11 316e41f4b71Sopenharmony_ci 317e41f4b71Sopenharmony_ci### ohos.permission.READ_ACCOUNT_LOGIN_STATE 318e41f4b71Sopenharmony_ci 319e41f4b71Sopenharmony_ciAllows an application to read the login status of user accounts. 320e41f4b71Sopenharmony_ci 321e41f4b71Sopenharmony_ci**Permission level**: normal 322e41f4b71Sopenharmony_ci 323e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 324e41f4b71Sopenharmony_ci 325e41f4b71Sopenharmony_ci**Valid since**: 12 326e41f4b71Sopenharmony_ci 327e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_SERVICE_NAVIGATION_INFO 328e41f4b71Sopenharmony_ci 329e41f4b71Sopenharmony_ciAllows an application to access the navigation service. 330e41f4b71Sopenharmony_ci 331e41f4b71Sopenharmony_ci**Permission level**: normal 332e41f4b71Sopenharmony_ci 333e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 334e41f4b71Sopenharmony_ci 335e41f4b71Sopenharmony_ci**Valid since**: 12 336e41f4b71Sopenharmony_ci 337e41f4b71Sopenharmony_ci### ohos.permission.PROTECT_SCREEN_LOCK_DATA 338e41f4b71Sopenharmony_ci 339e41f4b71Sopenharmony_ciAllows an application to protect its sensitive data from being accessed after the screen is locked. 340e41f4b71Sopenharmony_ci 341e41f4b71Sopenharmony_ciAfter 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. 342e41f4b71Sopenharmony_ci 343e41f4b71Sopenharmony_ci**Permission level**: normal 344e41f4b71Sopenharmony_ci 345e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 346e41f4b71Sopenharmony_ci 347e41f4b71Sopenharmony_ci**Valid since**: 12 348e41f4b71Sopenharmony_ci 349e41f4b71Sopenharmony_ci### ohos.permission.FILE_ACCESS_PERSIST 350e41f4b71Sopenharmony_ci 351e41f4b71Sopenharmony_ciAllows an application to support persistent access to file URIs. 352e41f4b71Sopenharmony_ci 353e41f4b71Sopenharmony_ci<!--RP2--><!--RP2End--> 354e41f4b71Sopenharmony_ci 355e41f4b71Sopenharmony_ci**Permission level**: system_basic for API version 11 and normal for API versions 12 and later. 356e41f4b71Sopenharmony_ci 357e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 358e41f4b71Sopenharmony_ci 359e41f4b71Sopenharmony_ci**Valid since**: 11 360e41f4b71Sopenharmony_ci 361e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_CAR_DISTRIBUTED_ENGINE 362e41f4b71Sopenharmony_ci 363e41f4b71Sopenharmony_ciAllows an application to access the distributed travel service engine. 364e41f4b71Sopenharmony_ci 365e41f4b71Sopenharmony_ci**Permission level**: normal 366e41f4b71Sopenharmony_ci 367e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 368e41f4b71Sopenharmony_ci 369e41f4b71Sopenharmony_ci**Valid since**: 12 370e41f4b71Sopenharmony_ci 371e41f4b71Sopenharmony_ci### ohos.permission.SET_TELEPHONY_ESIM_STATE_OPEN 372e41f4b71Sopenharmony_ci 373e41f4b71Sopenharmony_ciAllows a system application or carrier application to set the eSIM nickname and activate the eSIM. 374e41f4b71Sopenharmony_ci 375e41f4b71Sopenharmony_ci**Permission level**: normal 376e41f4b71Sopenharmony_ci 377e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 378e41f4b71Sopenharmony_ci 379e41f4b71Sopenharmony_ci**Valid since**: 13 380e41f4b71Sopenharmony_ci 381e41f4b71Sopenharmony_ci### ohos.permission.WINDOW_TOPMOST 382e41f4b71Sopenharmony_ci 383e41f4b71Sopenharmony_ciAllows an application to set pinned windows. 384e41f4b71Sopenharmony_ci 385e41f4b71Sopenharmony_ci**Permission level**: normal 386e41f4b71Sopenharmony_ci 387e41f4b71Sopenharmony_ci**Authorization mode**: system_grant 388e41f4b71Sopenharmony_ci 389e41f4b71Sopenharmony_ci**Valid since**: 13 390e41f4b71Sopenharmony_ci 391e41f4b71Sopenharmony_ci## user_grant Permissions 392e41f4b71Sopenharmony_ci 393e41f4b71Sopenharmony_ciThe [user_grant permissions](app-permission-mgmt-overview.md#user_grant-user-authorization) are permissions granted by users. For details about how to request this type of permissions, see [Requesting User Authorization](request-user-authorization.md). 394e41f4b71Sopenharmony_ci 395e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_BLUETOOTH 396e41f4b71Sopenharmony_ci 397e41f4b71Sopenharmony_ciAllows an application to access Bluetooth and use Bluetooth capabilities, such as pairing and connecting to peripheral devices. 398e41f4b71Sopenharmony_ci 399e41f4b71Sopenharmony_ci**Permission level**: normal 400e41f4b71Sopenharmony_ci 401e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 402e41f4b71Sopenharmony_ci 403e41f4b71Sopenharmony_ci**Valid since**: 10 404e41f4b71Sopenharmony_ci 405e41f4b71Sopenharmony_ci### ohos.permission.MEDIA_LOCATION 406e41f4b71Sopenharmony_ci 407e41f4b71Sopenharmony_ciAllows an application to access geographical locations in the user's media file. 408e41f4b71Sopenharmony_ci 409e41f4b71Sopenharmony_ci**Permission level**: normal 410e41f4b71Sopenharmony_ci 411e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 412e41f4b71Sopenharmony_ci 413e41f4b71Sopenharmony_ci**Valid since**: 7 414e41f4b71Sopenharmony_ci 415e41f4b71Sopenharmony_ci### ohos.permission.APP_TRACKING_CONSENT 416e41f4b71Sopenharmony_ci 417e41f4b71Sopenharmony_ciAllows an application to read the open anonymous device identifier (OAID). 418e41f4b71Sopenharmony_ci 419e41f4b71Sopenharmony_ci**Permission level**: normal 420e41f4b71Sopenharmony_ci 421e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 422e41f4b71Sopenharmony_ci 423e41f4b71Sopenharmony_ci**Valid since**: 9 424e41f4b71Sopenharmony_ci 425e41f4b71Sopenharmony_ci### ohos.permission.ACTIVITY_MOTION 426e41f4b71Sopenharmony_ci 427e41f4b71Sopenharmony_ciAllows an application to read the current workout status of the user, such as detecting whether the user is working out and recording the number of steps the user has taken. 428e41f4b71Sopenharmony_ci 429e41f4b71Sopenharmony_ci**Permission level**: normal 430e41f4b71Sopenharmony_ci 431e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 432e41f4b71Sopenharmony_ci 433e41f4b71Sopenharmony_ci**Valid since**: 7 434e41f4b71Sopenharmony_ci 435e41f4b71Sopenharmony_ci### ohos.permission.CAMERA 436e41f4b71Sopenharmony_ci 437e41f4b71Sopenharmony_ciAllows an application to use the camera. 438e41f4b71Sopenharmony_ci 439e41f4b71Sopenharmony_ci**Permission level**: normal 440e41f4b71Sopenharmony_ci 441e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 442e41f4b71Sopenharmony_ci 443e41f4b71Sopenharmony_ci**Valid since**: 9 444e41f4b71Sopenharmony_ci 445e41f4b71Sopenharmony_ci### ohos.permission.DISTRIBUTED_DATASYNC 446e41f4b71Sopenharmony_ci 447e41f4b71Sopenharmony_ciAllows the application data to be exchanged between devices. 448e41f4b71Sopenharmony_ci 449e41f4b71Sopenharmony_ci**Permission level**: normal 450e41f4b71Sopenharmony_ci 451e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 452e41f4b71Sopenharmony_ci 453e41f4b71Sopenharmony_ci**Valid since**: 7 454e41f4b71Sopenharmony_ci 455e41f4b71Sopenharmony_ci### ohos.permission.LOCATION_IN_BACKGROUND 456e41f4b71Sopenharmony_ci 457e41f4b71Sopenharmony_ciAllows an application running in the background to obtain the device location. 458e41f4b71Sopenharmony_ci 459e41f4b71Sopenharmony_ciFor security purposes, this permission cannot be granted to applications in a dialog box. If an application needs this permission, direct the user to manually grant this permission on the **Settings** screen. 460e41f4b71Sopenharmony_ci 461e41f4b71Sopenharmony_ci**Procedure**: 462e41f4b71Sopenharmony_ci 463e41f4b71Sopenharmony_ci1. Request the foreground location permissions in the dialog box. You can request either of the following permissions: 464e41f4b71Sopenharmony_ci - Request [ohos.permission.APPROXIMATELY_LOCATION](#ohospermissionapproximately_location). 465e41f4b71Sopenharmony_ci - Request [ohos.permission.APPROXIMATELY_LOCATION](#ohospermissionapproximately_location) and [ohos.permission.LOCATION](#ohospermissionlocation). 466e41f4b71Sopenharmony_ci2. After the user grants the foreground location permissions, display a message to direct the user to go to the **Settings** screen to grant the ohos.permission.LOCATION_IN_BACKGROUND permission. 467e41f4b71Sopenharmony_ci3. The permission is granted to the application if the user selects **Always allow** on the **Settings** screen. 468e41f4b71Sopenharmony_ci 469e41f4b71Sopenharmony_ci Paths: 470e41f4b71Sopenharmony_ci <!--RP1--> 471e41f4b71Sopenharmony_ci - Path 1: **Settings** > **Privacy** > **Permission manager** > **Permissions** > **Location** > *Target application* 472e41f4b71Sopenharmony_ci - Path 2: **Settings** > **Privacy** > **Permission manager** > **Apps** > *Target application* > Location 473e41f4b71Sopenharmony_ci <!--RP1End--> 474e41f4b71Sopenharmony_ci 475e41f4b71Sopenharmony_ci**Permission level**: normal 476e41f4b71Sopenharmony_ci 477e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 478e41f4b71Sopenharmony_ci 479e41f4b71Sopenharmony_ci**Valid since**: 7 480e41f4b71Sopenharmony_ci 481e41f4b71Sopenharmony_ci### ohos.permission.LOCATION 482e41f4b71Sopenharmony_ci 483e41f4b71Sopenharmony_ciAllows an application to obtain the device location. 484e41f4b71Sopenharmony_ci 485e41f4b71Sopenharmony_ci**Prerequisites**: This permission must be requested with [ohos.permission.APPROXIMATELY_LOCATION](#ohospermissionapproximately_location) together. 486e41f4b71Sopenharmony_ci 487e41f4b71Sopenharmony_ci**Permission level**: normal 488e41f4b71Sopenharmony_ci 489e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 490e41f4b71Sopenharmony_ci 491e41f4b71Sopenharmony_ci**Valid since**: 7 492e41f4b71Sopenharmony_ci 493e41f4b71Sopenharmony_ci### ohos.permission.APPROXIMATELY_LOCATION 494e41f4b71Sopenharmony_ci 495e41f4b71Sopenharmony_ciAllows an application to obtain the approximate location information of a device. 496e41f4b71Sopenharmony_ci 497e41f4b71Sopenharmony_ci**Permission level**: normal 498e41f4b71Sopenharmony_ci 499e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 500e41f4b71Sopenharmony_ci 501e41f4b71Sopenharmony_ci**Valid since**: 9 502e41f4b71Sopenharmony_ci 503e41f4b71Sopenharmony_ci### ohos.permission.MICROPHONE 504e41f4b71Sopenharmony_ci 505e41f4b71Sopenharmony_ciAllows an application to access the microphone. 506e41f4b71Sopenharmony_ci 507e41f4b71Sopenharmony_ci**Permission level**: normal 508e41f4b71Sopenharmony_ci 509e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 510e41f4b71Sopenharmony_ci 511e41f4b71Sopenharmony_ci**Valid since**: 8 512e41f4b71Sopenharmony_ci 513e41f4b71Sopenharmony_ci### ohos.permission.READ_CALENDAR 514e41f4b71Sopenharmony_ci 515e41f4b71Sopenharmony_ciAllows an application to read Calendar data. 516e41f4b71Sopenharmony_ci 517e41f4b71Sopenharmony_ci**Permission level**: normal 518e41f4b71Sopenharmony_ci 519e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 520e41f4b71Sopenharmony_ci 521e41f4b71Sopenharmony_ci**Valid since**: 8 522e41f4b71Sopenharmony_ci 523e41f4b71Sopenharmony_ci### ohos.permission.WRITE_CALENDAR 524e41f4b71Sopenharmony_ci 525e41f4b71Sopenharmony_ciAllows an application to add, remove, and modify Calendar events. 526e41f4b71Sopenharmony_ci 527e41f4b71Sopenharmony_ci**Permission level**: normal 528e41f4b71Sopenharmony_ci 529e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 530e41f4b71Sopenharmony_ci 531e41f4b71Sopenharmony_ci**Valid since**: 8 532e41f4b71Sopenharmony_ci 533e41f4b71Sopenharmony_ci### ohos.permission.READ_HEALTH_DATA 534e41f4b71Sopenharmony_ci 535e41f4b71Sopenharmony_ciAllows an application to read the health data of the user. 536e41f4b71Sopenharmony_ci 537e41f4b71Sopenharmony_ci**Permission level**: normal 538e41f4b71Sopenharmony_ci 539e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 540e41f4b71Sopenharmony_ci 541e41f4b71Sopenharmony_ci**Valid since**: 7 542e41f4b71Sopenharmony_ci 543e41f4b71Sopenharmony_ci### ohos.permission.ACCESS_NEARLINK 544e41f4b71Sopenharmony_ci 545e41f4b71Sopenharmony_ciAllows an application to use NearLink, such as device pairing and connecting to nearby devices. 546e41f4b71Sopenharmony_ci 547e41f4b71Sopenharmony_ci**Permission level**: normal 548e41f4b71Sopenharmony_ci 549e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 550e41f4b71Sopenharmony_ci 551e41f4b71Sopenharmony_ci**Valid since**: 12 552e41f4b71Sopenharmony_ci 553e41f4b71Sopenharmony_ci### ohos.permission.READ_WRITE_DOWNLOAD_DIRECTORY 554e41f4b71Sopenharmony_ci 555e41f4b71Sopenharmony_ciAllows an application to access the **Download** directory and its subdirectories in the user directory. 556e41f4b71Sopenharmony_ci 557e41f4b71Sopenharmony_ciCurrently, this permission is available only for 2-in-1 device applications. 558e41f4b71Sopenharmony_ci 559e41f4b71Sopenharmony_ci<!--RP2--><!--RP2End--> 560e41f4b71Sopenharmony_ci 561e41f4b71Sopenharmony_ci**Permission level**: system_basic for API version 11 and normal for API versions 12 and later. 562e41f4b71Sopenharmony_ci 563e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 564e41f4b71Sopenharmony_ci 565e41f4b71Sopenharmony_ci**Valid since**: 11 566e41f4b71Sopenharmony_ci 567e41f4b71Sopenharmony_ci### ohos.permission.READ_WRITE_DOCUMENTS_DIRECTORY 568e41f4b71Sopenharmony_ci 569e41f4b71Sopenharmony_ciAllows an application to access the **Documents** directory and its subdirectories in the user directory. 570e41f4b71Sopenharmony_ci 571e41f4b71Sopenharmony_ciCurrently, this permission is available only for 2-in-1 device applications. 572e41f4b71Sopenharmony_ci 573e41f4b71Sopenharmony_ci<!--RP2--><!--RP2End--> 574e41f4b71Sopenharmony_ci 575e41f4b71Sopenharmony_ci**Permission level**: system_basic for API version 11 and normal for API versions 12 and later. 576e41f4b71Sopenharmony_ci 577e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 578e41f4b71Sopenharmony_ci 579e41f4b71Sopenharmony_ci**Valid since**: 11 580e41f4b71Sopenharmony_ci 581e41f4b71Sopenharmony_ci### ohos.permission.READ_MEDIA 582e41f4b71Sopenharmony_ci 583e41f4b71Sopenharmony_ciAllows an application to read media files from the user's external storage. 584e41f4b71Sopenharmony_ci 585e41f4b71Sopenharmony_ci**Permission level**: normal 586e41f4b71Sopenharmony_ci 587e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 588e41f4b71Sopenharmony_ci 589e41f4b71Sopenharmony_ci**Valid since**: 7 590e41f4b71Sopenharmony_ci 591e41f4b71Sopenharmony_ci**Deprecated from**: 12 592e41f4b71Sopenharmony_ci 593e41f4b71Sopenharmony_ci**Substitute**: 594e41f4b71Sopenharmony_ci 595e41f4b71Sopenharmony_ciSee the [alternative solution of the **Files** permission group](app-permission-group-list.md#filesdeprecated). 596e41f4b71Sopenharmony_ci 597e41f4b71Sopenharmony_ci### ohos.permission.WRITE_MEDIA 598e41f4b71Sopenharmony_ci 599e41f4b71Sopenharmony_ciAllows an application to read media files from and write media files into the user's external storage. 600e41f4b71Sopenharmony_ci 601e41f4b71Sopenharmony_ci**Permission level**: normal 602e41f4b71Sopenharmony_ci 603e41f4b71Sopenharmony_ci**Authorization mode**: user_grant 604e41f4b71Sopenharmony_ci 605e41f4b71Sopenharmony_ci**Valid since**: 7 606e41f4b71Sopenharmony_ci 607e41f4b71Sopenharmony_ci**Deprecated from**: 12 608e41f4b71Sopenharmony_ci 609e41f4b71Sopenharmony_ci**Substitute**: 610e41f4b71Sopenharmony_ci 611e41f4b71Sopenharmony_ciSee the [alternative solution of the **Files** permission group](app-permission-group-list.md#filesdeprecated). 612