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

Commit 63299e3

Browse files
committed
feat(policy): disable all notifications on device
Signed-off-by: Domingo Oropeza <[email protected]>
1 parent 153ca96 commit 63299e3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

install/installer.class.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,23 @@ static public function getPolicies() {
13751375
'is_android_system' => '0',
13761376
'is_apple_policy' => '1',
13771377
],
1378+
1379+
[
1380+
'name' => __('Disable all notifications', 'flyvemdm'),
1381+
'symbol' => 'disableAllNotifications',
1382+
'group' => 'ui',
1383+
'type' => 'bool',
1384+
'type_data' => '',
1385+
'unicity' => 1,
1386+
'plugin_flyvemdm_policycategories_id' => 'Security > User interface',
1387+
'comment' => __('Disable any form of notification.',
1388+
'flyvemdm'),
1389+
'default_value' => '0',
1390+
'recommended_value' => '0',
1391+
'is_android_policy' => '1',
1392+
'is_android_system' => '1',
1393+
'is_apple_policy' => '0',
1394+
],
13781395
];
13791396

13801397
// Restore user's locale

0 commit comments

Comments
 (0)