API Documentation
Documentation for developing SailfishOS applicationsAccessPolicy QML Type
Controls the access policy for a variety of settings. More...
Import Statement: | import Sailfish.Policy 1.0 |
Instantiates: | AccessPolicy |
Properties
- accountCreationEnabled : bool
- applicationInstallationEnabled : bool
- bluetoothToggleEnabled : bool
- browserEnabled : bool
- callStatisticsSettingsEnabled : bool
- cameraEnabled : bool
- cellularTechnologySettingsEnabled : bool
- dateTimeSettingsEnabled : bool
- developerModeSettingsEnabled : bool
- deviceResetEnabled : bool
- flightModeToggleEnabled : bool
- internetSharingEnabled : bool
- locationSettingsEnabled : bool
- microphoneEnabled : bool
- mobileDataAccessPointSettingsEnabled : bool
- mobileNetworkSettingsEnabled : bool
- networkDataCounterSettingsEnabled : bool
- networkProxySettingsEnabled : bool
- osUpdatesEnabled : bool
- screenshotEnabled : bool
- sideLoadingSettingsEnabled : bool
- vpnConfigurationSettingsEnabled : bool
- vpnConnectionSettingsEnabled : bool
- wlanToggleEnabled : bool
Detailed Description
Property Documentation
True if the policy allows to modify accounts.
If the account setting policy is enabled, then the user has access to account's menu item.
True if the application installations are allowed.
If the application installations are enabled, then the user is able to install applications and packages. If application installations are disabled, only MDM applications can install new applications.
True if the Bluetooth toggle setting is enabled.
If the Bluetooth toggle setting is enabled, then the user is able to enable or disable the Bluetooth. If the Bluetooth toggle setting is disabled, the user will be prevented from enabling or disabling Bluetooth, thus the configuration set by the MDM application will be maintained.
True if the policy allows web browsing in the browser application.
If the browser policy is enabled, the user is able to use the browser app. If the browser policy is disabled, browser will display a message indicating this to the user, and will not allow websites to be viewed.
This property is considered experimental and may be changed or removed at a later date.
True if the call statistics policy is enabled.
If the call statistics policy is enabled, then the user is able to reset call statistic data.
True if the policy allows enabling the camera.
If the camera policy is enabled, the user is able turn the camera on or off. If the camera policy is disabled, the configuration set by the MDM application will be maintained.
True if the cellular technology selection settings are enabled.
If the cellular technology selection settings are enabled, then the user is able to change which technology (e.g. 2G, 3G, 4G) the device may use to access the cellular network.
If the cellular technology settings are disabled, the user will be prevented from changing the cellular technology selection, thus the configuration set by the MDM application will be maintained.
True if the policy allows changing the system date/time settings.
If the policy is enabled, the user is change the system date, time, time zone and whether these settings are automatically updated from a time server. If the policy is disabled, the configuration set by the MDM application will be maintained.
True if the developer mode settings are enabled.
If the developer mode settings are enabled, then the user is able to enable or disable developer mode, and use different developer mode settings. If the developer mode settings are disabled the configuration set by the MDM application will be maintained.
True if the device reset policy is enabled.
If the device reset is enabled, then the user is able to execute device factory reset, clearing all the user data and reverting the OS to the original factory software. If the device reset is disabled, only MDM application can initialize the reset.
True if the Flight Mode toggle setting is enabled.
If the Flight Mode toggle setting is enabled, then the user is able to enable or disable flight mode. If the Flight Mode toggle setting is disabled, the user will be prevented from enabling or disabling flight mode, thus the configuration set by the MDM application will be maintained.
Note that some network technologies (e.g. WLAN, Bluetooth, GPS) can be enabled or disabled separately, regardless of whether flight mode is enabled or disabled, unless their policies also prevent the user from changing those.
True if the internet sharing setting is enabled.
If the internet sharing setting is enabled, then the user is able to enable or disable mobile internet sharing (tethering). If the internet sharing setting is disabled, the user will be prevented from enabling or disabling internet sharing, thus the configuration set by the MDM application will be maintained.
True if the location settings are enabled.
If the location settings are enabled, then the user is able to enable or disable any positioning provider. If the location settings are disabled, the user will be prevented from enabling or disabling location providers, thus the configuration set by the MDM application will be maintained.
True if the mobile data access point (APN) settings are enabled.
If the mobile data access point settings are enabled, then the user is able to change the access point name, protocol, authentication method, username, password, message center and message proxy for various mobile data connection contexts (internet, mms, etc).
If the mobile data access point settings are disabled, the user will be prevented from changing the settings, thus the configuration set by the MDM application will be maintained.
True if the mobile network settings are enabled.
If the mobile network settings are enabled, then the user is able to change, enable or disable the mobile network. If the mobile network settings are disabled, the user will be prevented from changing, enabling or disabling the mobile network, thus the configuration set by the MDM application will be maintained.
True if the network data counter policy is enabled.
If the network data counter policy is enabled, then the user is able to reset the network data counter statistics.
True if the network proxy settings are enabled.
If the network proxy settings are enabled, then the user is able to configure the proxy for each network service. If the network proxy settings are disabled, the user will be prevented from configuring the proxy for any of the network services, or from changing the global proxy configuration, thus the configuration set by the MDM application will be maintained.
True if OS updates are enabled.
If OS updates are enabled, the user can trigger OS updates via the Settings application UI. If they are disabled, the device will only be able to be updated by the MDM application.
True if the side loading setting is enabled.
If the side loading setting is enabled, then the user is able to allow or disallow side loading. If side loading setting is disabled the configuration set by the MDM application will be maintained. Side loading controls whether user is allowed to install unsecure software packages that have not been downloaded from the secure application store.
True if the VPN manager settings policy is enabled.
If the VPN manager settings policy is enabled, then the user is able to create, remove and modify VPN configurations.
If the VPN manager settings policy is disabled, the user will be prevented from creating new, modifying or removing existing VPN configurations, thus the activation setting set by the MDM application will be maintained.
Because modifying a connection configuration could be used to disable it, the restrictions of this policy are also applied by the AccessPolicy::vpnConnectionSettingsEnabled policy, although the two polices can be set independently.
True if the VPN connection settings policy is enabled.
If the VPN connection settings policy is enabled, then the user is able to activate and deactivate any individual VPN connection.
If the VPN connection settings policy is disabled, the user will be prevented from turning any of the VPN connections on or off, thus the activation setting set by the MDM application will be maintained.
Because modifying a connection configuration could be used to disable it, disabling the VPN connection settings policy will also prevent modification, creation or removal of VPN configurations. As such, although they can be set independently, the restrictions of this policy are a superset of the restrictions of the AccessPolicy::vpnConfigurationSettingsEnabled policy.
True if the WLAN toggle setting is enabled.
If the WLAN toggle setting is enabled, then the user is able to enable or disable the WLAN network. If the WLAN toggle setting is disabled, the user will be prevented from enabling or disabling the WLAN network, thus the configuration set by the MDM application will be maintained.
Per-network access policy is handled through ConnMan Manager and Service interface APIs.