summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-05 12:55:05 -0600
committermo khan <mo@mokhan.ca>2025-07-05 12:55:05 -0600
commit172ccab744de1fcb10e8b1dbf71f706866175b0f (patch)
tree63839d25ea8502450109da177329d684dc1fe7d8
parent2a56b8fa13aef71493959ca9e50b48d806082f33 (diff)
refactor: remove duplicate path in cedar policy
-rw-r--r--etc/authzd/policy0.cedar3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/authzd/policy0.cedar b/etc/authzd/policy0.cedar
index bc67afc3..e67f0db5 100644
--- a/etc/authzd/policy0.cedar
+++ b/etc/authzd/policy0.cedar
@@ -34,8 +34,7 @@ when {
context.path == "/dashboard/nav" ||
context.path == "/health" ||
context.path == "/signout" ||
- context.path == "/sparkles" ||
- context.path == "/callback"
+ context.path == "/sparkles"
)
) || (
context.method == "POST" && (