amend: required membership for postgrest_test_anonymous
Previous test correction required GRANTing membership for postgrest_test_anonymous.
This commit is contained in:
committed by
Taimoor Zaeem
parent
d67f68330a
commit
ef54d94cc1
@@ -15,6 +15,8 @@ GRANT
|
|||||||
postgrest_test_serializable, postgrest_test_repeatable_read,
|
postgrest_test_serializable, postgrest_test_repeatable_read,
|
||||||
postgrest_test_w_superuser_settings, postgrest_test_work_mem TO :"PGUSER";
|
postgrest_test_w_superuser_settings, postgrest_test_work_mem TO :"PGUSER";
|
||||||
|
|
||||||
|
GRANT postgrest_test_anonymous TO timeout_authenticator;
|
||||||
|
|
||||||
ALTER ROLE :"PGUSER" SET pgrst.db_anon_role = 'postgrest_test_anonymous';
|
ALTER ROLE :"PGUSER" SET pgrst.db_anon_role = 'postgrest_test_anonymous';
|
||||||
ALTER ROLE postgrest_test_serializable SET default_transaction_isolation = 'serializable';
|
ALTER ROLE postgrest_test_serializable SET default_transaction_isolation = 'serializable';
|
||||||
ALTER ROLE postgrest_test_repeatable_read SET default_transaction_isolation = 'REPEATABLE READ';
|
ALTER ROLE postgrest_test_repeatable_read SET default_transaction_isolation = 'REPEATABLE READ';
|
||||||
|
|||||||
Reference in New Issue
Block a user