grafana/pkg/services/contexthandler
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
..
authproxy chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
ctxkey pkg/web: restrict handler types (#48495) 2022-05-20 12:45:18 -04:00
auth_jwt.go [main] Plugin fixes (#57399) 2022-10-21 13:54:55 +02:00
auth_proxy_test.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
contexthandler_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
contexthandler.go Auth: add IsServiceAccount to IsRealUser (#58015) 2022-11-04 12:39:54 +00:00