summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-10 09:28:52 -0600
committermo khan <mo@mokhan.ca>2025-07-10 09:28:52 -0600
commitc089320fddc77f77cd721e29faac50e68420fc34 (patch)
tree7c6f7f68a572bd34c2a469495928f196ea78740a
parent63146ae4815b5d1f3c7a9ec18daac35034ab57e2 (diff)
chore: format cedar policy using make fmt
-rw-r--r--etc/authzd/policy1.cedar12
1 files changed, 4 insertions, 8 deletions
diff --git a/etc/authzd/policy1.cedar b/etc/authzd/policy1.cedar
index 507ef3ed..2306aaae 100644
--- a/etc/authzd/policy1.cedar
+++ b/etc/authzd/policy1.cedar
@@ -4,14 +4,10 @@ when
context has host &&
context has method &&
context has path &&
- (
- (
- context.host == "sparkle.runway.gitlab.net" ||
- context.host == "sparkle.staging.runway.gitlab.net" ||
- context.host like "localhost:*"
- ) && (
- (
- context.method == "GET" &&
+ ((context.host == "sparkle.runway.gitlab.net" ||
+ context.host == "sparkle.staging.runway.gitlab.net" ||
+ context.host like "localhost:*") &&
+ ((context.method == "GET" &&
(context.path == "/" ||
context.path == "/callback" ||
context.path == "/dashboard/nav" ||