grafana/pkg/services/serviceaccounts
sh0rez 3ca3a59079
pkg/web: remove dependency injection (#49123)
* pkg/web: store http.Handler internally

* pkg/web: remove injection

Removes any injection code from pkg/web.

It already was no longer functional, as we already only injected into
`http.Handler`, meaning we only inject ctx.Req and ctx.Resp.

Any other types (*Context, *ReqContext) were already accessed using the
http.Request.Context.Value() method.

* *: remove type mappings

Removes any call to the previously removed TypeMapper, as those were
non-functional already.

* pkg/web: remove Context.Invoke

was no longer used outside of pkg/web and also no longer functional
2022-05-24 15:35:08 -04:00
..
api pkg/web: remove dependency injection (#49123) 2022-05-24 15:35:08 -04:00
database Access control: further reduce access control feature toggle checks (#48171) 2022-05-05 17:31:14 +02:00
manager Service accounts: rename feature toggle (#48037) 2022-04-21 10:41:37 +01:00
tests Access control: service account role check (#47710) 2022-04-13 18:11:03 +02:00
errors.go ServiceAccounts: Delete ServiceAccount (#40470) 2021-11-11 15:10:24 +00:00
models.go Access control: service account role check (#47710) 2022-04-13 18:11:03 +02:00
serviceaccounts.go Access control: service account role check (#47710) 2022-04-13 18:11:03 +02:00