Skip to content

Commit

Permalink
hub: stub for security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed Dec 4, 2019
1 parent b89647a commit 7bacdfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sql/hub/000-policies.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
security policies for a hub.
this is just a stub.
*/

--
create policy anonymous_core_bundles on bundle.bundle for select to anonymous
using (name like 'org.aquameta.%');

grant select on table widget.widget to anonymous;

0 comments on commit 7bacdfb

Please sign in to comment.