app_config.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <?php
  2. //application details
  3. $apps[$x]['name'] = "Group Manager";
  4. $apps[$x]['uuid'] = "2caf27b0-540a-43d5-bb9b-c9871a1e4f84";
  5. $apps[$x]['category'] = "Core";
  6. $apps[$x]['subcategory'] = "";
  7. $apps[$x]['version'] = "1.0";
  8. $apps[$x]['license'] = "Mozilla Public License 1.1";
  9. $apps[$x]['url'] = "http://www.fusionpbx.com";
  10. $apps[$x]['description']['en-us'] = "Manage user groups and permissions.";
  11. $apps[$x]['description']['ar-eg'] = "";
  12. $apps[$x]['description']['de-at'] = "Verwalte Benutzergruppen und Berechtigungen.";
  13. $apps[$x]['description']['de-ch'] = "";
  14. $apps[$x]['description']['de-de'] = "Verwalte Benutzergruppen und Berechtigungen.";
  15. $apps[$x]['description']['es-cl'] = "Administrar grupos de usuarios y permisos.";
  16. $apps[$x]['description']['es-mx'] = "";
  17. $apps[$x]['description']['fr-ca'] = "";
  18. $apps[$x]['description']['fr-fr'] = "Gérer les groupes d'utilisateurs et des autorisations.";
  19. $apps[$x]['description']['he-il'] = "";
  20. $apps[$x]['description']['it-it'] = "";
  21. $apps[$x]['description']['nl-nl'] = "";
  22. $apps[$x]['description']['pl-pl'] = "";
  23. $apps[$x]['description']['pt-br'] = "Gerenciar grupos de usuários e permissões.";
  24. $apps[$x]['description']['pt-pt'] = "Gerenciar grupos de usuários e permissões.";
  25. $apps[$x]['description']['ro-ro'] = "";
  26. $apps[$x]['description']['ru-ru'] = "Управление группами пользователей и уровнями доступа";
  27. $apps[$x]['description']['sv-se'] = "";
  28. $apps[$x]['description']['uk-ua'] = "";
  29. //permission details
  30. $y=0;
  31. $apps[$x]['permissions'][$y]['name'] = "group_view";
  32. $apps[$x]['permissions'][$y]['menu']['uuid'] = "3b4acc6d-827b-f537-bf21-0093d94ffec7";
  33. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  34. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  35. $y++;
  36. $apps[$x]['permissions'][$y]['name'] = "group_add";
  37. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  38. $y++;
  39. $apps[$x]['permissions'][$y]['name'] = "group_edit";
  40. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  41. $y++;
  42. $apps[$x]['permissions'][$y]['name'] = "group_delete";
  43. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  44. $y++;
  45. $apps[$x]['permissions'][$y]['name'] = "group_domain";
  46. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  47. $y++;
  48. $apps[$x]['permissions'][$y]['name'] = "group_all";
  49. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  50. $y++;
  51. $apps[$x]['permissions'][$y]['name'] = "group_member_view";
  52. $apps[$x]['permissions'][$y]['menu']['uuid'] = "3b4acc6d-827b-f537-bf21-0093d94ffec7";
  53. $apps[$x]['permissions'][$y]['groups'][] = "admin";
  54. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  55. $y++;
  56. $apps[$x]['permissions'][$y]['name'] = "group_member_add";
  57. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  58. $y++;
  59. $apps[$x]['permissions'][$y]['name'] = "group_member_delete";
  60. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  61. $y++;
  62. $apps[$x]['permissions'][$y]['name'] = "group_permissions";
  63. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  64. $y++;
  65. $apps[$x]['permissions'][$y]['name'] = "group_permission_view";
  66. $apps[$x]['permissions'][$y]['menu']['uuid'] = "3b4acc6d-827b-f537-bf21-0093d94ffec7";
  67. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  68. $y++;
  69. $apps[$x]['permissions'][$y]['name'] = "group_permission_add";
  70. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  71. $y++;
  72. $apps[$x]['permissions'][$y]['name'] = "group_permission_edit";
  73. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  74. $y++;
  75. $apps[$x]['permissions'][$y]['name'] = "group_permission_delete";
  76. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  77. $y++;
  78. $apps[$x]['permissions'][$y]['name'] = "view_groups";
  79. $apps[$x]['permissions'][$y]['groups'][] = "superadmin";
  80. //schema details
  81. $y=0;
  82. $apps[$x]['db'][$y]['table']['name'] = "v_groups";
  83. $apps[$x]['db'][$y]['table']['parent'] = "";
  84. $z=0;
  85. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  86. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  87. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  88. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  89. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  90. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  91. $z++;
  92. $apps[$x]['db'][$y]['fields'][$z]['name'] = "id";
  93. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  94. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  95. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  96. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  97. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  98. $z++;
  99. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  100. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  101. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  102. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  103. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  104. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  105. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  106. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  107. $z++;
  108. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  109. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  110. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  111. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  112. $z++;
  113. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "group_name";
  114. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupid";
  115. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  116. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  117. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  118. $z++;
  119. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_protected";
  120. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  121. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  122. $z++;
  123. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "group_level";
  124. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "group_order";
  125. $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
  126. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  127. $z++;
  128. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "group_description";
  129. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "groupdesc";
  130. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  131. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  132. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  133. $y++;
  134. $apps[$x]['db'][$y]['table']['name'] = "v_group_permissions";
  135. $apps[$x]['db'][$y]['table']['parent'] = "v_groups";
  136. $z=0;
  137. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_permission_uuid";
  138. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  139. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  140. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  141. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "primary";
  142. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  143. $z++;
  144. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "id";
  145. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "group_permission_name";
  146. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "serial";
  147. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "integer";
  148. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "INT NOT NULL AUTO_INCREMENT";
  149. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  150. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  151. $z++;
  152. $apps[$x]['db'][$y]['fields'][$z]['name'] = "domain_uuid";
  153. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  154. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  155. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  156. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  157. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_domains";
  158. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "domain_uuid";
  159. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  160. $z++;
  161. $apps[$x]['db'][$y]['fields'][$z]['name'] = "v_id";
  162. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  163. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  164. $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true";
  165. $z++;
  166. $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "permission_name";
  167. $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "permission_id";
  168. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  169. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  170. $z++;
  171. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_name";
  172. $apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
  173. $apps[$x]['db'][$y]['fields'][$z]['search'] = "true";
  174. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  175. $z++;
  176. $apps[$x]['db'][$y]['fields'][$z]['name'] = "group_uuid";
  177. $apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
  178. $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
  179. $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
  180. $apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
  181. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_groups";
  182. $apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "group_uuid";
  183. $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
  184. ?>