Last active
April 14, 2021 17:19
-
-
Save dsandip/1174b52c0d53d1c6304619be1d5f18a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GRANT SELECT, REFERENCES ON ALL TABLES IN SCHEMA public TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO <hasura-connection-string-user>; | |
REVOKE CREATE ON SCHEMA public FROM PUBLIC; | |
GRANT USAGE ON SCHEMA hdb_catalog TO <hasura-connection-string-user>; | |
GRANT ALL ON schema hdb_catalog TO <hasura-connection-string-user>; | |
GRANT ALL ON ALL TABLES IN SCHEMA hdb_catalog TO <hasura-connection-string-user> ; | |
GRANT USAGE ON ALL SEQUENCES IN SCHEMA hdb_catalog TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_catalog GRANT ALL PRIVILEGES ON TABLES TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_catalog GRANT USAGE ON SEQUENCES TO <hasura-connection-string-user>; | |
GRANT USAGE ON SCHEMA hdb_pro_catalog TO <hasura-connection-string-user>; | |
GRANT ALL ON schema hdb_pro_catalog TO <hasura-connection-string-user>; | |
GRANT ALL ON ALL TABLES IN SCHEMA hdb_pro_catalog TO <hasura-connection-string-user> ; | |
GRANT USAGE ON ALL SEQUENCES IN SCHEMA hdb_pro_catalog TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_pro_catalog GRANT ALL PRIVILEGES ON TABLES TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_pro_catalog GRANT USAGE ON SEQUENCES TO <hasura-connection-string-user>; | |
GRANT USAGE ON SCHEMA hdb_views TO <hasura-connection-string-user>; | |
GRANT ALL ON schema hdb_views TO <hasura-connection-string-user>; | |
GRANT ALL ON ALL TABLES IN SCHEMA hdb_views TO <hasura-connection-string-user> ; | |
GRANT USAGE ON ALL SEQUENCES IN SCHEMA hdb_views TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_views GRANT ALL PRIVILEGES ON TABLES TO <hasura-connection-string-user>; | |
ALTER DEFAULT PRIVILEGES IN SCHEMA hdb_views GRANT USAGE ON SEQUENCES TO <hasura-connection-string-user>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment