summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/authzd/policy0.cedar2
-rw-r--r--etc/authzd/policy1.cedar1
2 files changed, 3 insertions, 0 deletions
diff --git a/etc/authzd/policy0.cedar b/etc/authzd/policy0.cedar
index 10ad622f..7c0aed08 100644
--- a/etc/authzd/policy0.cedar
+++ b/etc/authzd/policy0.cedar
@@ -1,3 +1,4 @@
+@id("placeholder_example")
permit (
principal,
action == Action::"check",
@@ -5,6 +6,7 @@ permit (
)
when { context has bearer_token && context.bearer_token == "valid-token" };
+@id("static_assets")
permit (principal, action, resource)
when
{
diff --git a/etc/authzd/policy1.cedar b/etc/authzd/policy1.cedar
index 507ef3ed..b2f9716c 100644
--- a/etc/authzd/policy1.cedar
+++ b/etc/authzd/policy1.cedar
@@ -1,3 +1,4 @@
+@id("sparkle_public")
permit (principal, action, resource)
when
{