From 56276ca9000d0ada5c6412fcb6437024ae6358d7 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 14 Jul 2025 15:16:46 -0600 Subject: feat: allow access to sparkle in development --- etc/authzd/policy1.cedar | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'etc/authzd') diff --git a/etc/authzd/policy1.cedar b/etc/authzd/policy1.cedar index 15776ab7..6fe51b16 100644 --- a/etc/authzd/policy1.cedar +++ b/etc/authzd/policy1.cedar @@ -28,3 +28,14 @@ when context.host == "sparkle.staging.runway.gitlab.net" && principal has username }; + +permit ( + principal == User::"1", + action == Action::"GET", + resource == Resource::"/dashboard" +) +when +{ + context has host && + context.host == "localhost:10000" +}; -- cgit v1.2.3