summaryrefslogtreecommitdiff
path: root/cedar.conf
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-20 10:49:23 -0600
committermo khan <mo@mokhan.ca>2025-03-20 10:49:23 -0600
commitfc0738269e16bd4ff429c4dbe49a557bc0e7e611 (patch)
tree0aa1f837ea93b4c9139990341bc69108e53027cb /cedar.conf
parent761d493d61bda7449f117cc333e45682bed14578 (diff)
feat: add a cedar policy
Diffstat (limited to 'cedar.conf')
-rw-r--r--cedar.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/cedar.conf b/cedar.conf
new file mode 100644
index 0000000..0d032bc
--- /dev/null
+++ b/cedar.conf
@@ -0,0 +1,5 @@
+permit (
+ principal == Subject::"*",
+ action == Action::"GET",
+ resource in Path::"/projects.json"
+);