grafana/pkg/services/query
linoman 9b9c9e83dc
Replace signed in user for identity.requester (#73750)
* Make identity.Requester available at Context

* Clean pkg/services/guardian/guardian.go

* Clean guardian provider and guardian AC

* Clean pkg/api/team.go

* Clean ctxhandler, datasources, plugin and live

* Question: what to do with the UserDisplayDTO?

* Clean dashboards and guardian

* Remove identity.Requester from ReqContext

* Implement NewUserDisplayDTOFromRequester

* Fix tests

* Change status code numbers for http constants

* Upgrade signature of ngalert services

* log parsing errors instead of throwing error

* Fix tests and add logs

* linting
2023-08-28 12:04:36 -05:00
..
errors.go Chore: Add errutils helpers (#73577) 2023-08-22 12:52:24 +02:00
models.go Chore: Validate batch query refIds (#63018) 2023-02-09 10:11:16 +01:00
query_service_mock.go Replace signed in user for identity.requester (#73750) 2023-08-28 12:04:36 -05:00
query_test.go Replace signed in user for identity.requester (#73750) 2023-08-28 12:04:36 -05:00
query.go Replace signed in user for identity.requester (#73750) 2023-08-28 12:04:36 -05:00