summaryrefslogtreecommitdiff
path: root/etc/authzd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/authzd')
-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" ||