2015-08-13 07:09:07 +02:00
|
|
|
<?php
|
2017-02-16 05:26:46 +01:00
|
|
|
|
2015-08-13 07:09:07 +02:00
|
|
|
//application details
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['name'] = "Access Controls";
|
|
|
|
|
$apps[$x]['uuid'] = "1416a250-f6e1-4edc-91a6-5c9b883638fd";
|
|
|
|
|
$apps[$x]['category'] = "";
|
|
|
|
|
$apps[$x]['subcategory'] = "";
|
|
|
|
|
$apps[$x]['version'] = "1.0";
|
|
|
|
|
$apps[$x]['license'] = "Mozilla Public License 1.1";
|
|
|
|
|
$apps[$x]['url'] = "http://www.fusionpbx.com";
|
|
|
|
|
$apps[$x]['description']['en-us'] = "Manage access control lists";
|
|
|
|
|
$apps[$x]['description']['ar-eg'] = "";
|
2017-06-30 23:23:01 +02:00
|
|
|
$apps[$x]['description']['de-at'] = "Zugriffssteuerungslisten verwalten";
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['description']['de-ch'] = "";
|
2017-06-30 23:23:01 +02:00
|
|
|
$apps[$x]['description']['de-de'] = "Zugriffssteuerungslisten verwalten";
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['description']['es-cl'] = "";
|
|
|
|
|
$apps[$x]['description']['es-mx'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-ca'] = "";
|
|
|
|
|
$apps[$x]['description']['fr-fr'] = "";
|
|
|
|
|
$apps[$x]['description']['he-il'] = "";
|
|
|
|
|
$apps[$x]['description']['it-it'] = "";
|
|
|
|
|
$apps[$x]['description']['nl-nl'] = "";
|
|
|
|
|
$apps[$x]['description']['pl-pl'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-br'] = "";
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = "";
|
|
|
|
|
$apps[$x]['description']['ro-ro'] = "";
|
|
|
|
|
$apps[$x]['description']['ru-ru'] = "";
|
|
|
|
|
$apps[$x]['description']['sv-se'] = "";
|
|
|
|
|
$apps[$x]['description']['uk-ua'] = "";
|
2015-08-13 07:09:07 +02:00
|
|
|
|
|
|
|
|
//permission details
|
2017-02-16 05:26:46 +01:00
|
|
|
$y=0;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_node_view";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_node_add";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_node_edit";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['permissions'][$y]['name'] = "access_control_node_delete";
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
2015-08-13 07:09:07 +02:00
|
|
|
$y++;
|
|
|
|
|
|
|
|
|
|
//schema details
|
2017-02-16 05:26:46 +01:00
|
|
|
$y=0;
|
|
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_access_controls";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "";
|
|
|
|
|
$z=0;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_name";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the name.";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_default";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the default type.";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description";
|
2015-08-13 07:09:07 +02:00
|
|
|
|
2017-06-03 17:00:20 +02:00
|
|
|
$y++;
|
2017-02-16 05:26:46 +01:00
|
|
|
$apps[$x]['db'][$y]['table']['name'] = "v_access_control_nodes";
|
|
|
|
|
$apps[$x]['db'][$y]['table']['parent'] = "v_access_controls";
|
|
|
|
|
$z=0;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_node_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "access_control_uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
2019-03-24 05:37:49 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_access_controls";
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "access_control_uuid";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_type";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Select the type.";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_cidr";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the IP CIDR range.";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_domain";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the domain.";
|
2015-08-13 07:09:07 +02:00
|
|
|
$z++;
|
2017-06-03 17:00:20 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = "node_description";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the description.";
|
2017-02-16 05:26:46 +01:00
|
|
|
|
2019-03-24 05:37:49 +01:00
|
|
|
?>
|