diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-05 12:30:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-05 12:30:04 -0600 |
| commit | 7a23f5256b861705b69405c690eead5b30df7775 (patch) | |
| tree | a6c218ab2b9778bc9703757dc7033c40a35b1266 /etc | |
| parent | 3b6b2b3029e0b9ba185028db0eb77a3d46998a5c (diff) | |
feat: allow requests from localhost
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/authzd/policy0.cedar | 3 |
1 files changed, 2 insertions, 1 deletions
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" && ( |
