grafana/pkg/services/ngalert/provisioning
idafurjes 17ec9cac83
Add delete user from other services/stores (#51912)
* Remove user from preferences, stars, orguser, team member

* Fix lint

* Add Delete user from org and dashboard acl

* Delete user from user auth

* Add DeleteUser to quota

* Add test files and adjust user auth store

* Rename package in wire for user auth

* Import Quota Service interface in other services

* do the same in tests

* fix lint tests

* Fix tests

* Add some tests

* Rename InsertUser and DeleteUser to InsertOrgUser and DeleteOrgUser

* Rename DeleteUser to DeleteByUser in quota

* changing a method name in few additional places

* Fix in other places

* Fix lint

* Fix tests

* Rename DeleteOrgUser to DeleteUserFromAll

* Update pkg/services/org/orgimpl/org_test.go

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Update pkg/services/preference/prefimpl/inmemory_test.go

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Rename Acl to ACL

* Fix wire after merge with main

* Move test to uni test

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2022-07-15 18:06:44 +02:00
..
alert_rules_test.go Alerting: Provisioning API respects global rule quota (#52180) 2022-07-13 17:36:17 -05:00
alert_rules.go Add delete user from other services/stores (#51912) 2022-07-15 18:06:44 +02:00
config.go Alerting: Factor out shared code for working with configs in provisioning package (#49419) 2022-05-23 18:16:03 -05:00
contactpoints_test.go Alerting: Allow filtering of contact points by name (#51933) 2022-07-11 17:11:46 -05:00
contactpoints.go Alerting: Allow filtering of contact points by name (#51933) 2022-07-11 17:11:46 -05:00
errors.go Alerting: Code-gen parsing of URL parameters and fix related bugs (#50731) 2022-06-23 15:13:39 -05:00
mute_timings_test.go Alerting: Fix provisioning validation status codes and panics (#50464) 2022-06-09 10:38:46 +02:00
mute_timings.go Alerting: only delete mute time if not used by route (#50193) 2022-06-04 07:48:24 +02:00
notification_policies_test.go Alerting: Update default route groupBy to [grafana_folder, alertname] (#50052) 2022-07-11 12:24:43 -04:00
notification_policies.go Alerting: Add method to reset notification policy tree back to the default (#51934) 2022-07-08 16:23:18 -05:00
persist_mock.go Alerting: Add provisioning GET routes for message templates (#48367) 2022-04-28 13:51:57 -05:00
persist.go Alerting: Provisioning API respects global rule quota (#52180) 2022-07-13 17:36:17 -05:00
provisioning_store_mock.go Alerting: Provisioning message templates (#48665) 2022-05-05 15:21:42 -05:00
quota_checker_mock.go Alerting: Provisioning API respects global rule quota (#52180) 2022-07-13 17:36:17 -05:00
templates_test.go Alerting: Fix provisioning validation status codes and panics (#50464) 2022-06-09 10:38:46 +02:00
templates.go Alerting: Factor out shared code for working with configs in provisioning package (#49419) 2022-05-23 18:16:03 -05:00
testing.go Alerting: Provisioning API respects global rule quota (#52180) 2022-07-13 17:36:17 -05:00