Skip to content

Commit

Permalink
endpoint: user should inherit anonymous privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed Nov 4, 2019
1 parent 17b7d9e commit 862efd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/privileges/002-user.sql
Expand Up @@ -4,6 +4,9 @@
* Copyriright (c) 2019 - Aquameta - http://aquameta.org/
******************************************************************************/

-- user should inherit all anonymous privileges
grant anonymous to "user";

-- schema usage privileges
-- TODO: replace this with a single insert query into meta.schema_privilege
grant usage on schema meta to "user";
Expand Down

0 comments on commit 862efd5

Please sign in to comment.