summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-18 12:06:38 -0600
committermo khan <mo@mokhan.ca>2025-07-18 12:06:38 -0600
commit0bb9081112851ae47dfb191a7980d1a6afa28d38 (patch)
tree0fab2363347656b99ee1fe634d7c30fee6782aec
parentc10d21934dfdc89b7f288edb71434731a4223a2c (diff)
refactor: use * to represent public
-rw-r--r--pkg/authz/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/authz/init.go b/pkg/authz/init.go
index 3ceb1412..e902e6d1 100644
--- a/pkg/authz/init.go
+++ b/pkg/authz/init.go
@@ -33,7 +33,7 @@ func init() {
//TODO:: username is not ideal but it works for demo purposes
username := r.Attributes.Request.Http.Headers["x-jwt-claim-username"]
if x.IsZero(username) {
- username = "public"
+ username = "*"
}
return &v1.SubjectReference{