From c089320fddc77f77cd721e29faac50e68420fc34 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 10 Jul 2025 09:28:52 -0600 Subject: chore: format cedar policy using make fmt --- etc/authzd/policy1.cedar | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'etc') 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" || -- cgit v1.2.3