Prefixes all roles used in test suite with postgrest_test

This commit is contained in:
Diogo Biazus
2015-12-08 12:03:46 -05:00
parent 8b4cb4be6e
commit 4cc0189ac9
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
GRANT USAGE ON SCHEMA
postgrest
, test
TO postgrest_anonymous;
TO postgrest_test_anonymous;
-- Schema test objects
SET search_path = test, pg_catalog;
@@ -32,12 +32,12 @@ GRANT ALL ON TABLE
, users
, users_projects
, users_tasks
TO postgrest_anonymous;
TO postgrest_test_anonymous;
GRANT USAGE ON SEQUENCE
auto_incrementing_pk_id_seq
, items_id_seq
TO postgrest_anonymous;
TO postgrest_test_anonymous;
-- Privileges for non anonymous users
GRANT USAGE ON SCHEMA test TO postgrest_test_author;