From 7a23f5256b861705b69405c690eead5b30df7775 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 5 Jul 2025 12:30:04 -0600 Subject: feat: allow requests from localhost --- etc/authzd/policy0.cedar | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/authzd/policy0.cedar b/etc/authzd/policy0.cedar index 12950df5..bc67afc3 100644 --- a/etc/authzd/policy0.cedar +++ b/etc/authzd/policy0.cedar @@ -23,8 +23,9 @@ permit(principal, action, resource) 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 == "sparkle.runway.gitlab.net" + context.host like "localhost:*" ) && ( ( context.method == "GET" && ( -- cgit v1.2.3