Skip to content

Commit

Permalink
In previous commit, two new versions of the existing functions
Browse files Browse the repository at this point in the history
were created, but I neglected to provide the permissions matching
the originals. Fix that.
  • Loading branch information
jconway committed Jan 12, 2017
1 parent 2294715 commit b89fbf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions set_user--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ AS 'MODULE_PATHNAME', 'set_user'
LANGUAGE C STRICT;

REVOKE EXECUTE ON FUNCTION set_user(text) FROM PUBLIC;
REVOKE EXECUTE ON FUNCTION set_user(text, text) FROM PUBLIC;
GRANT EXECUTE ON FUNCTION reset_user() TO PUBLIC;
GRANT EXECUTE ON FUNCTION reset_user(text) TO PUBLIC;

0 comments on commit b89fbf7

Please sign in to comment.