Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

data_init.sql 9.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. --
  5. -- Data for Name: luticate_groups; Type: TABLE DATA; Schema: public; Owner: dev
  6. --
  7. INSERT INTO luticate_groups VALUES (0, 'Super Administrators');
  8. INSERT INTO luticate_groups VALUES (1, 'Administrators');
  9. --
  10. -- Name: luticate_groups_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  11. --
  12. SELECT pg_catalog.setval('luticate_groups_id_seq', 2, true);
  13. --
  14. -- Data for Name: luticate_permissions; Type: TABLE DATA; Schema: public; Owner: dev
  15. --
  16. INSERT INTO luticate_permissions VALUES ('LU_USER_GET', false);
  17. INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD', false);
  18. INSERT INTO luticate_permissions VALUES ('LU_USER_LOGIN', true);
  19. INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT_ME', true);
  20. INSERT INTO luticate_permissions VALUES ('LU_USER_SET_PASSWORD_ME', true);
  21. INSERT INTO luticate_permissions VALUES ('LU_GROUP_ADD', false);
  22. INSERT INTO luticate_permissions VALUES ('LU_GROUP_DEL', false);
  23. INSERT INTO luticate_permissions VALUES ('LU_GROUP_EDIT', false);
  24. INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_ADD', false);
  25. INSERT INTO luticate_permissions VALUES ('LU_GROUP_USER_DEL', false);
  26. INSERT INTO luticate_permissions VALUES ('LU_PERM_ADD', false);
  27. INSERT INTO luticate_permissions VALUES ('LU_PERM_DEL', false);
  28. INSERT INTO luticate_permissions VALUES ('LU_PERM_EDIT', false);
  29. INSERT INTO luticate_permissions VALUES ('LU_PERM_EFFECTIVE_GET', false);
  30. INSERT INTO luticate_permissions VALUES ('LU_PERM_GET', false);
  31. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_ADD', false);
  32. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_DEL', false);
  33. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_EDIT', false);
  34. INSERT INTO luticate_permissions VALUES ('LU_PERM_GROUP_GET', false);
  35. INSERT INTO luticate_permissions VALUES ('LU_GROUP_GET', false);
  36. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_ADD', false);
  37. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_DEL', false);
  38. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_EDIT', false);
  39. INSERT INTO luticate_permissions VALUES ('LU_USER_EDIT', false);
  40. INSERT INTO luticate_permissions VALUES ('LU_USER_DEL', false);
  41. INSERT INTO luticate_permissions VALUES ('LU_USER_ADD', false);
  42. INSERT INTO luticate_permissions VALUES ('LU_PERM_USER_GET', false);
  43. --
  44. -- Data for Name: luticate_permissions_groups; Type: TABLE DATA; Schema: public; Owner: dev
  45. --
  46. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 0);
  47. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 0);
  48. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 0);
  49. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 0);
  50. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 0);
  51. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 0);
  52. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 0);
  53. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 0);
  54. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 0);
  55. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 0);
  56. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 0);
  57. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 0);
  58. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 0);
  59. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 0);
  60. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 0);
  61. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 0);
  62. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 0);
  63. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 0);
  64. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 0);
  65. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 0);
  66. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 0);
  67. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 0);
  68. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 0);
  69. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 0);
  70. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_ADD', true, 1);
  71. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_DEL', true, 1);
  72. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_EDIT', true, 1);
  73. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_GET', true, 1);
  74. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_ADD', true, 1);
  75. INSERT INTO luticate_permissions_groups VALUES ('LU_GROUP_USER_DEL', true, 1);
  76. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EFFECTIVE_GET', true, 1);
  77. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GET', true, 1);
  78. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_ADD', true, 1);
  79. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_DEL', true, 1);
  80. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_EDIT', true, 1);
  81. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_GROUP_GET', true, 1);
  82. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_ADD', true, 1);
  83. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_DEL', true, 1);
  84. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_EDIT', true, 1);
  85. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_USER_GET', true, 1);
  86. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_ADD', true, 1);
  87. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_DEL', true, 1);
  88. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT', true, 1);
  89. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_EDIT_ME', true, 1);
  90. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_GET', true, 1);
  91. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_LOGIN', true, 1);
  92. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD', true, 1);
  93. INSERT INTO luticate_permissions_groups VALUES ('LU_USER_SET_PASSWORD_ME', true, 1);
  94. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', true, 0);
  95. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', true, 0);
  96. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', true, 0);
  97. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_ADD', false, 1);
  98. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_EDIT', false, 1);
  99. INSERT INTO luticate_permissions_groups VALUES ('LU_PERM_DEL', false, 1);
  100. --
  101. -- Data for Name: luticate_users; Type: TABLE DATA; Schema: public; Owner: dev
  102. --
  103. INSERT INTO luticate_users VALUES (0, 'anonymous', 'anonymous@example.com', '', '', NULL, 'anonymous', 'anonymous');
  104. INSERT INTO luticate_users VALUES (1, 'root', 'root@example.com', '$2y$10$m1aN1a1ZEr1vmjFPfWl4Pu/63EhcxVCrC/DF0DFhdGbvORwtJtCmy', '3vwW1qQ28I', NULL, 'root', 'root');
  105. --
  106. -- Data for Name: luticate_permissions_users; Type: TABLE DATA; Schema: public; Owner: dev
  107. --
  108. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_ADD', false, 0);
  109. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_DEL', false, 0);
  110. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_EDIT', false, 0);
  111. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_ADD', false, 0);
  112. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_USER_DEL', false, 0);
  113. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_ADD', false, 0);
  114. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_DEL', false, 0);
  115. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EDIT', false, 0);
  116. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_EFFECTIVE_GET', false, 0);
  117. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GET', false, 0);
  118. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_ADD', false, 0);
  119. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_DEL', false, 0);
  120. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_EDIT', false, 0);
  121. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_GROUP_GET', false, 0);
  122. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_ADD', false, 0);
  123. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_DEL', false, 0);
  124. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_EDIT', false, 0);
  125. INSERT INTO luticate_permissions_users VALUES ('LU_PERM_USER_GET', false, 0);
  126. INSERT INTO luticate_permissions_users VALUES ('LU_USER_ADD', false, 0);
  127. INSERT INTO luticate_permissions_users VALUES ('LU_USER_DEL', false, 0);
  128. INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT', false, 0);
  129. INSERT INTO luticate_permissions_users VALUES ('LU_USER_EDIT_ME', false, 0);
  130. INSERT INTO luticate_permissions_users VALUES ('LU_USER_GET', false, 0);
  131. INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD', false, 0);
  132. INSERT INTO luticate_permissions_users VALUES ('LU_USER_SET_PASSWORD_ME', false, 0);
  133. INSERT INTO luticate_permissions_users VALUES ('LU_USER_LOGIN', true, 0);
  134. INSERT INTO luticate_permissions_users VALUES ('LU_GROUP_GET', false, 0);
  135. --
  136. -- Data for Name: luticate_users_groups; Type: TABLE DATA; Schema: public; Owner: dev
  137. --
  138. INSERT INTO luticate_users_groups VALUES (1, 0);
  139. --
  140. -- Name: luticate_users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: dev
  141. --
  142. SELECT pg_catalog.setval('luticate_users_id_seq', 2, true);
  143. --
  144. -- PostgreSQL database dump complete
  145. --