grafana/pkg/services/querylibrary
Eric Leijonmarck 72d0c6b428
Auth: add IsServiceAccount to IsRealUser (#58015)
* add: IsServiceAccount to SignedInUser and IsRealUser

* fix: linting error

* refactor: add function IsServiceAccountUser()

By adding the function IsServiceAccountUser() we use it to identify for
ServiceAccounts in the HasUniqueID() since caching is built up on having
a uniqueID, see comment: https://github.com/grafana/grafana/pull/58015#discussion_r1011361880
2022-11-04 12:39:54 +00:00
..
querylibraryimpl ObjectStore: add a kind registry (#56507) 2022-10-08 12:05:46 -04:00
tests Auth: add IsServiceAccount to IsRealUser (#58015) 2022-11-04 12:39:54 +00:00
types.go ObjectStore: add a kind registry (#56507) 2022-10-08 12:05:46 -04:00