Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
feat(policy): new policies
Browse files Browse the repository at this point in the history
fix #208 #209 #210 #167
  • Loading branch information
btry authored and ajsb85 committed Nov 23, 2017
1 parent 5a03f89 commit 33d24fc
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions install/installer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,85 @@ static public function getPolicies() {
'is_apple_policy' => '0',
],

[
'name' => __('Disable status bar', 'flyvemdm'),
'symbol' => 'disableStatusBar',
'group' => 'ui',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > User interface',
'comment' => __('Disable the status bar. Disabling the status bar blocks notifications, quick settings and other screen overlays that allow escaping from a single use device.', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],

[
'name' => __('Disable screen capture', 'flyvemdm'),
'symbol' => 'disableSreenCapture',
'group' => 'ui',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > User interface',
'comment' => __('Disable screen capture. Disabling screen capture also prevents the content from being shown on display devices that do not have a secure video output.', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],

[
'name' => __('Reset password', 'flyvemdm'),
'symbol' => 'resetPassword',
'group' => 'policies',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > Authentication > Password',
'comment' => __('Force a new password for device unlock (the password needed to access the entire device) or the work profile challenge on the current user. This takes effect immediately.', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],

[
'name' => __('Allow speakerphone', 'flyvemdm'),
'symbol' => 'allowSpeakerphone',
'group' => 'connectivity',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > Peripherals',
'comment' => __('', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],

[
'name' => __('Allow create VPN profiles', 'flyvemdm'),
'symbol' => 'allowCreateVpnProfiles',
'group' => 'connectivity',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > Peripherals',
'comment' => __('', 'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],
];

// Restore user's locale
Expand Down

0 comments on commit 33d24fc

Please sign in to comment.