From 133bbf5cd2bdaac431083e05f7cd92623df39ee5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 8 Aug 2016 15:18:51 -0600 Subject: [PATCH] Update app_config.php Add device_key_protected permission and field in the database. --- app/devices/app_config.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/devices/app_config.php b/app/devices/app_config.php index e68f751751..13a4236c13 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -149,6 +149,9 @@ $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; $apps[$x]['permissions'][$y]['groups'][] = 'admin'; $y++; + $apps[$x]['permissions'][$y]['name'] = 'device_key_protected'; + $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; + $y++; $apps[$x]['permissions'][$y]['name'] = 'device_domain'; $apps[$x]['permissions'][$y]['groups'][] = 'superadmin'; $apps[$x]['permissions'][$y]['groups'][] = 'admin'; @@ -551,6 +554,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension.'; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_protected'; + $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select whether to protect this key from the user group.'; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = 'device_key_label'; $apps[$x]['db'][$y]['fields'][$z]['type'] = 'text'; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the label.';