diff --git a/install/installer.class.php b/install/installer.class.php index e1011385..23af3eab 100644 --- a/install/installer.class.php +++ b/install/installer.class.php @@ -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