Skip to content

Commit

Permalink
Once permissons are revoked once, we are done
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Betts committed Jul 6, 2023
1 parent 469bdc6 commit 67f4b50
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
-- The public schema already exists but we need to grant usage to the user we
-- will map via FDW.

{% for fdw_user in fdw_users %}
-- Once this has been run once, it can be removed
REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA public FROM "{{fdw_user}}";
{% endfor %}

{% for fdw_user in fdw_users %}
-- Permissions exist independently of the schema, so dropping the schema
-- does not revoke permissions. We need to remove the existing permissions
Expand Down

0 comments on commit 67f4b50

Please sign in to comment.