summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-04-02 18:51:56 -0600
committermo khan <mo@mokhan.ca>2025-04-02 18:51:56 -0600
commitde548afd84035631f5ec1d978b3ab87c93bfd457 (patch)
tree816156df1f76d4b60c104fdd8678bdaae67e0320
parent6b064463b1fe734f98c916f3caf5d680531c5568 (diff)
fix: add app to default global id
-rw-r--r--pkg/authz/cedar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/authz/cedar.go b/pkg/authz/cedar.go
index 80bb2a3..9c20a3f 100644
--- a/pkg/authz/cedar.go
+++ b/pkg/authz/cedar.go
@@ -19,7 +19,7 @@ func WithCedar() Authorizer {
}
subject, found := TokenFrom(r).Subject()
if !found {
- subject = "gid://User/*"
+ subject = "gid://example/User/*"
}
return policies.Allowed(cedar.Request{