[unistore] wire authlib compile (#99027)

* Wire authz client compile method

* add verb to metric

* remove tipo
This commit is contained in:
Georges Chaudy
2025-01-16 14:11:55 +01:00
committed by GitHub
parent 4936c53072
commit 98e9f3a534
3 changed files with 98 additions and 43 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func NewResourceServer(ctx context.Context, db infraDB.DB, cfg *setting.Cfg,
Reg: reg,
}
if ac != nil {
opts.AccessClient = resource.NewAuthzLimitedClient(ac, resource.AuthzOptions{Tracer: tracer})
opts.AccessClient = resource.NewAuthzLimitedClient(ac, resource.AuthzOptions{Tracer: tracer, Registry: reg})
}
// Support local file blob
if strings.HasPrefix(opts.Blob.URL, "./data/") {