diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-18 12:06:38 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-18 12:06:38 -0600 |
| commit | 0bb9081112851ae47dfb191a7980d1a6afa28d38 (patch) | |
| tree | 0fab2363347656b99ee1fe634d7c30fee6782aec /pkg/authz/init.go | |
| parent | c10d21934dfdc89b7f288edb71434731a4223a2c (diff) | |
refactor: use * to represent public
Diffstat (limited to 'pkg/authz/init.go')
| -rw-r--r-- | pkg/authz/init.go | 2 |
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{ |
