Mercurial > gemma
comparison schema/manage_users_tests.sql @ 1904:931b15be6d7f
Complement authorisation tests for import management
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 18 Jan 2019 17:01:19 +0100 |
parents | 9f8f7d3fd655 |
children | 93fa55bce126 |
comparison
equal
deleted
inserted
replaced
1902:c4af342be999 | 1904:931b15be6d7f |
---|---|
38 | 38 |
39 SET SESSION AUTHORIZATION test_sys_admin1; | 39 SET SESSION AUTHORIZATION test_sys_admin1; |
40 SELECT set_eq($$ | 40 SELECT set_eq($$ |
41 SELECT count(*) FROM users.list_users | 41 SELECT count(*) FROM users.list_users |
42 $$, | 42 $$, |
43 ARRAY[5], | 43 ARRAY[6], |
44 'System admin can see all users'); | 44 'System admin can see all users'); |
45 | 45 |
46 -- | 46 -- |
47 -- Role creation | 47 -- Role creation |
48 -- | 48 -- |