Runtime permission management
Via the policy configuration Runtime permission management, Default response for permission requests for managed apps can be set globally.
Android does not grant permissions that allow access to sensitive user data automatically: apps request them at runtime, and the configuration determines how the system responds to such requests. The configuration is available for all Android Enterprise enrollment types and can only be added once per policy.
Default Response for Permission Requests
In the Default response for permission requests section, the field If an app requests permission: offers the options Ask the user (default), Grant the permission or Deny the permission. The preset value is Ask the user (default).
| Option | Effect |
|---|---|
| Ask the user (default) | When the permission is requested, Android asks the user whether the app receives it. This behavior also applies if no response is defined. |
| Grant the permission | The permission is granted without prompting the user. |
| Deny the permission | The permission is denied without prompting the user. |
According to Google, as of Android 12 the permissions ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION, ACCESS_BACKGROUND_LOCATION, CAMERA, RECORD_AUDIO, ACTIVITY_RECOGNITION, BODY_SENSORS and READ_SMS can only be granted automatically with Grant the permission on fully managed devices (Managed device →).
For the apps that Relution itself provides (such as the Relution Companion), Relution sets the default response Grant the permission per app; the default response selected here does not affect these apps as long as they are not listed in the Manage apps → configuration. If they are listed there, the default response set for them there applies; with Use global default, this is the default response of this configuration. Relution also sets the location permissions of Relution Agent, Companion and Files per app; these take precedence over the entries of this configuration, see Location Services →.
Furthermore, in addition to the defined default behavior, there are exceptions for specific permissions.
Default Android Permissions
The permission requests present in the Android operating system can be configured in the Runtime permission management configuration, along with the desired behavior. When a permission is added, one of the three options is selected in the Behavior field (default: Ask the user (default)).
Add opens the Add Default Android permission dialog. In the Default Android permissions field, the permission is selected from a list; typing text filters the list. Permissions that have already been added are not offered again. The section’s list shows the columns Permission and Behavior for each entry. Entries are changed via the context menu with Edit (dialog Edit Default Android permission) and removed with Delete; Delete applies to all selected entries, Edit to exactly one.
The following Android system permissions with the protection level dangerous, which apps have to request at runtime, are available:
| Option | Android permission |
|---|---|
| Phone — Continue a call that was started by another app | android.permission.ACCEPT_HANDOVER |
| Location — Access location in the background | android.permission.ACCESS_BACKGROUND_LOCATION |
| Location — Access approximate location | android.permission.ACCESS_COARSE_LOCATION |
| Location — Access precise location | android.permission.ACCESS_FINE_LOCATION |
| Activity recognition — Recognize physical activity | android.permission.ACTIVITY_RECOGNITION |
| Phone — Add voicemails | com.android.voicemail.permission.ADD_VOICEMAIL |
| Phone — Answer incoming phone calls | android.permission.ANSWER_PHONE_CALLS |
| Bluetooth - Connect to paired Bluetooth devices | android.permission.BLUETOOTH_CONNECT |
| Bluetooth - Discover and pair nearby Bluetooth devices | android.permission.BLUETOOTH_SCAN |
| Sensors — Use of body sensors, such as heart rate | android.permission.BODY_SENSORS |
| Phone — Initiate an outgoing phone call | android.permission.CALL_PHONE |
| Camera — Access the device’s camera | android.permission.CAMERA |
| Contacts — Access the list of accounts stored on a device | android.permission.GET_ACCOUNTS |
| Notifications — Post notifications | android.permission.POST_NOTIFICATIONS |
| Call log — Cancel or redirect outgoing calls and see the number being dialed | android.permission.PROCESS_OUTGOING_CALLS |
| Calendar — Read the user’s calendar | android.permission.READ_CALENDAR |
| Call log — Read the user’s call log | android.permission.READ_CALL_LOG |
| Contacts — Read the user’s contacts | android.permission.READ_CONTACTS |
| Storage — Read the device’s external storage | android.permission.READ_EXTERNAL_STORAGE |
| Phone — Read the device’s phone number(s) | android.permission.READ_PHONE_NUMBERS |
| Phone — Read phone number, cellular network info, status of outgoing calls, … | android.permission.READ_PHONE_STATE |
| SMS — Read SMS messages | android.permission.READ_SMS |
| SMS — Monitor incoming MMS messages | android.permission.RECEIVE_MMS |
| SMS — Receive SMS message | android.permission.RECEIVE_SMS |
| SMS — Receive WAP push messages | android.permission.RECEIVE_WAP_PUSH |
| Microphone — Record audio | android.permission.RECORD_AUDIO |
| SMS — Send SMS messages | android.permission.SEND_SMS |
| SMS — Read filtered SMS messages | android.permission.SMS_FINANCIAL_TRANSACTIONS |
| Phone — Use SIP service | android.permission.USE_SIP |
| Calendar — Write to the user’s calendar | android.permission.WRITE_CALENDAR |
| Call log — Write to the user’s call log | android.permission.WRITE_CALL_LOG |
| Contacts — Write to the user’s contacts | android.permission.WRITE_CONTACTS |
| Storage — Write to the device’s external storage | android.permission.WRITE_EXTERNAL_STORAGE |
BLUETOOTH_CONNECT and BLUETOOTH_SCAN exist as of Android 12, POST_NOTIFICATIONS as of Android 13. Relution does not transfer these entries to devices running an older Android version.
Custom Permissions
App-specific permission requests can be configured if required by an app. The names of these permissions can usually be found in the documentation provided by the respective app manufacturer. Here, too, one of the three options is selected in the Behavior field when a permission is added (default: Ask the user (default)).
In the Add Custom Android permission dialog, the full name of the permission is entered in the Custom permissions field, for example com.example.app.permission.SYNC; Relution passes it to Android unchanged. Letters, digits, periods and underscores are allowed; Relution does not transfer names containing other characters to the devices. This way, Android system permissions that are not available under Default Android permissions can also be configured, for example android.permission.READ_MEDIA_IMAGES. Editing and deleting work as for the default Android permissions (dialog Edit Custom Android permission).
Per-App Settings
In the Manage apps → configuration, permissions can additionally be set for individual apps. When an app is added from the Managed Google Play Store, every permission it requests is set to Ask the user (default) there; entries and the default response of this configuration only take effect for these permissions once they are set to Use global default. If Ask the user (default), Grant the permission or Deny the permission is selected there for a permission, that setting takes precedence over this configuration; with Use global default, this configuration applies. A different default response for an app only replaces the Default response for permission requests of this configuration. Entries under Default Android permissions and Custom permissions still apply to that app as well.
Example: Allow the Camera, Block Background Location
On fully managed warehouse devices, apps should be able to use the camera without a prompt, location access in the background should be blocked, and an in-house scanner app needs its own permission. The user continues to decide on all other permissions.
| Section | Entry | Behavior |
|---|---|---|
| Default response for permission requests | If an app requests permission: | Ask the user (default) |
| Default Android permissions | Camera — Access the device’s camera | Grant the permission |
| Default Android permissions | Location — Access location in the background | Deny the permission |
| Custom permissions | com.example.scanner.permission.SCAN | Grant the permission |
This requires these permissions to be set to Use global default for the apps concerned in Manage apps →.
On the devices, these apps (except the apps that Relution itself provides) receive camera access and the scanner app receives its own permission without prompting, location access in the background is denied, and Android asks the user for all other permissions.