grafana/pkg/services/user/userimpl
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
..
store_test.go Chore: Remove methods from sqlstore (#57545) 2022-10-27 11:44:09 +02:00
store.go Auth: add IsServiceAccount to IsRealUser (#58015) 2022-11-04 12:39:54 +00:00
user_test.go Chore: Add NewAnonymousSignedInUser to user service (#57537) 2022-11-03 14:03:29 +01:00
user.go Chore: Add NewAnonymousSignedInUser to user service (#57537) 2022-11-03 14:03:29 +01:00