- Move privileges and grants to privileges.sql - Move schema, tables and functions to schema.sql - Move global database settings to database.sql Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
10 lines
531 B
SQL
10 lines
531 B
SQL
GRANT USAGE ON SCHEMA v1 TO postgrest_test_anonymous;
|
|
GRANT USAGE ON SCHEMA test TO postgrest_test_anonymous;
|
|
|
|
GRANT SELECT ON authors_only TO postgrest_test_author;
|
|
GRANT SELECT ON projects TO postgrest_test_anonymous, postgrest_test_w_superuser_settings;
|
|
GRANT SELECT ON directors, films TO postgrest_test_anonymous, postgrest_test_w_superuser_settings;
|
|
|
|
GRANT ALL ON cats TO postgrest_test_anonymous;
|
|
GRANT ALL ON items_w_isolation_level TO postgrest_test_anonymous, postgrest_test_repeatable_read, postgrest_test_serializable;
|