mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:03:01 +08:00
unistore: handle auth when fallback is used (#96772)
* handle auth when fallback is used * handle auth when fallback is used * add traces
This commit is contained in:
@ -31,7 +31,7 @@ func NewResourceServer(ctx context.Context, db infraDB.DB, cfg *setting.Cfg,
|
||||
Reg: reg,
|
||||
}
|
||||
if ac != nil {
|
||||
opts.AccessClient = resource.NewAuthzLimitedClient(ac)
|
||||
opts.AccessClient = resource.NewAuthzLimitedClient(ac, resource.AuthzOptions{Tracer: tracer})
|
||||
}
|
||||
// Support local file blob
|
||||
if strings.HasPrefix(opts.Blob.URL, "./data/") {
|
||||
|
Reference in New Issue
Block a user