Skip to content

Commit d997de7

Browse files
committed
Revoke some permissions from Hasura user for test purposes.
1 parent 0f0fcf4 commit d997de7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

azuredbmock/00-initialize.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ GRANT SELECT ON ALL TABLES IN SCHEMA pg_catalog TO xxx_db_hasura_username_xxx;
3232
-- grant all privileges on all tables in the public schema to the hasura user
3333
GRANT ALL ON SCHEMA public TO xxx_db_hasura_username_xxx;
3434
GRANT ALL ON ALL TABLES IN SCHEMA public TO xxx_db_hasura_username_xxx;
35-
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO xxx_db_hasura_username_xxx;
3635
GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO xxx_db_hasura_username_xxx;
3736

3837
-- create database for auth and give ALL privileges to auth db user
@@ -91,7 +90,6 @@ GRANT SELECT ON ALL TABLES IN SCHEMA pg_catalog TO xxx_db_hasura_username_xxx;
9190
-- grant all privileges on all tables in the public schema to the hasura user
9291
GRANT ALL ON SCHEMA public TO xxx_db_hasura_username_xxx;
9392
GRANT ALL ON ALL TABLES IN SCHEMA public TO xxx_db_hasura_username_xxx;
94-
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO xxx_db_hasura_username_xxx;
9593
GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO xxx_db_hasura_username_xxx;
9694

9795
-- grant usage to the public schema to the timetables-api user

0 commit comments

Comments
 (0)