|
9 | 9 | ('editor', '{bcrypt}$2a$12$PLYDm40MTcnyza65qQn3xeiWnj.mopUf2eKcjjAHiqBWc31E13jke'), |
10 | 10 | ('superuser', '{bcrypt}$2a$12$/Zrv8cXcvruG.eGgCl1yl.QVNsjrmMjOFgj20aKTLvUqypZtJYisC'), |
11 | 11 | ('admin', '{bcrypt}$2a$12$.dzrMeJ6s2GzFtB.5uUIsenqYhBxAXLBbRE4pYdKEJAMrPwqGhFEi'), |
12 | | - ('special', '{bcrypt}$2a$12$1Zqh2OSxja5tYnD3PysgNeunLI7cYcoNfiLUcIZfoxKqg3ZoXccLy') |
| 12 | + ('special', '{bcrypt}$2a$12$1Zqh2OSxja5tYnD3PysgNeunLI7cYcoNfiLUcIZfoxKqg3ZoXccLy'), |
| 13 | + ('labelmanager', '{bcrypt}$2a$12$ft1Ux/EehVjK7wY0zT8Bke8aaGRqnoheL9LDOqIa1iHtrMLUegJM.') |
13 | 14 | ON CONFLICT DO NOTHING; |
14 | 15 |
|
15 | 16 | WITH test_users AS ( |
16 | 17 | SELECT |
17 | | - unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special']) AS username |
| 18 | + unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special', 'labelmanager']) AS username |
18 | 19 | ) |
19 | 20 | INSERT INTO auth.users (identity_provider_id, identity_provider_reference) |
20 | 21 | SELECT |
|
30 | 31 |
|
31 | 32 | WITH test_users AS ( |
32 | 33 | SELECT |
33 | | - unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special']) AS identity_provider_reference, |
34 | | - unnest(ARRAY['VIEWER', 'VIEWER', 'EDITOR', 'SUPER_USER', 'ADMIN', 'SPECIAL']) AS code |
| 34 | + unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special', 'labelmanager']) AS identity_provider_reference, |
| 35 | + unnest(ARRAY['VIEWER', 'VIEWER', 'EDITOR', 'SUPER_USER', 'ADMIN', 'SPECIAL', 'LABEL_MANAGER']) AS code |
35 | 36 | ) |
36 | 37 | INSERT INTO auth.user_roles (user_id, role_id) |
37 | 38 | SELECT |
|
48 | 49 |
|
49 | 50 | WITH test_users AS ( |
50 | 51 | SELECT |
51 | | - unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special']) AS identity_provider_reference, |
52 | | - unnest(ARRAY['PROVINCIE_OVERIJSSEL', 'PROVINCIE_UTRECHT', 'PROVINCIE_UTRECHT', 'PROVINCIE_UTRECHT', 'MINISTERIE_LNV', 'MINISTERIE_LNV']) AS code |
| 52 | + unnest(ARRAY['testviewer', 'viewer', 'editor', 'superuser', 'admin', 'special', 'labelmanager']) AS identity_provider_reference, |
| 53 | + unnest(ARRAY['PROVINCIE_OVERIJSSEL', 'PROVINCIE_UTRECHT', 'PROVINCIE_UTRECHT', 'PROVINCIE_UTRECHT', 'MINISTERIE_LNV', 'MINISTERIE_LNV', 'MINISTERIE_LNV']) AS code |
53 | 54 | ) |
54 | 55 | INSERT INTO auth.user_competent_authorities (user_id, competent_authority_id) |
55 | 56 | SELECT |
|
0 commit comments