summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-24 18:21:25 -0600
committermo khan <mo@mokhan.ca>2025-05-24 18:21:25 -0600
commit7eceda78b9f0cc03946b5922697ad13d0cba55db (patch)
tree1c70ec6beb9bbed14b5fab605947f3417fadc4e7 /pkg
parent27a253ff471d32ffa80e53170b68400eecd258c6 (diff)
chore: remove default cedar examples
Diffstat (limited to 'pkg')
-rw-r--r--pkg/policies/album.cedar5
-rw-r--r--pkg/policies/entities.json23
2 files changed, 0 insertions, 28 deletions
diff --git a/pkg/policies/album.cedar b/pkg/policies/album.cedar
deleted file mode 100644
index aed5a53e..00000000
--- a/pkg/policies/album.cedar
+++ /dev/null
@@ -1,5 +0,0 @@
-permit (
- principal == User::"alice",
- action == Permission::"view",
- resource in Album::"jane_vacation"
-);
diff --git a/pkg/policies/entities.json b/pkg/policies/entities.json
index 75d08750..8d50e674 100644
--- a/pkg/policies/entities.json
+++ b/pkg/policies/entities.json
@@ -2,29 +2,6 @@
{
"uid": {
"type": "User",
- "id": "alice"
- },
- "attrs": {
- "age": 18
- },
- "parents": []
- },
- {
- "uid": {
- "type": "Photo",
- "id": "VacationPhoto94.jpg"
- },
- "attrs": {},
- "parents": [
- {
- "type": "Album",
- "id": "jane_vacation"
- }
- ]
- },
- {
- "uid": {
- "type": "User",
"id": "1"
},
"attrs": {},