Most of them are exactly the same as we use for Numerus, but with the main application schema changed to camper. Closes #1
11 lines
256 B
PL/PgSQL
11 lines
256 B
PL/PgSQL
-- Verify camper:roles on pg
|
|
|
|
begin;
|
|
|
|
select pg_catalog.pg_has_role('guest', 'usage');
|
|
select pg_catalog.pg_has_role('employee', 'usage');
|
|
select pg_catalog.pg_has_role('admin', 'usage');
|
|
select pg_catalog.pg_has_role('authenticator', 'usage');
|
|
|
|
rollback;
|