grafana/pkg/services/ngalert/schedule
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
..
alerts_sender_mock.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
compat_test.go Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
compat.go Alerting: Support values in notification templates (#56457) 2022-10-10 13:40:21 +01:00
fetcher_test.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
fetcher.go Alerting: Change severity level of fetcher log messages (#57299) 2022-10-19 16:00:47 -04:00
registry_test.go Alerting: Scheduler to fetch folders along with rules (#52842) 2022-08-31 11:08:19 -04:00
registry.go Docs: Deprecating packages_api and removing it from our pipelines (#54473) 2022-09-01 18:15:44 +02:00
schedule_mock.go Alerting: Update rules delete endpoint to handle rules in group (#53790) 2022-08-24 15:33:33 -04:00
schedule_test.go Alerting: Improve logs in state manager and historian (#57374) 2022-10-21 16:16:51 -05:00
schedule_unit_test.go Alerting: Condition evaluator with cached pipeline (#57479) 2022-11-02 10:13:39 -04:00
schedule.go Auth: add IsServiceAccount to IsRealUser (#58015) 2022-11-04 12:39:54 +00:00
testing.go Alerting: Decouple schedule package from store (#55858) 2022-09-27 13:48:12 -05:00