grafana/pkg/services/serviceaccounts
Kristin Laemmert 701f6d5436
UserService: use the UserService instead of calling sqlstore directly (#55745)
* UserService: update callers to use the UserService instead of calling sqlstore directly

There is one major change hiding in this PR. UserService.Delete originally called a number of services to delete user-related records. I moved everything except the actual call to the user table, and moved those into the API. This was done to avoid dependencies cycles; many of our services depend on the user service, so the user service itself should have as few dependencies as possible.
2022-09-27 07:58:49 -04:00
..
api UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
database Chore: Use AddUserOrg from org service (#55657) 2022-09-23 11:59:07 +02:00
manager RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 2022-08-26 09:59:34 +02:00
tests Service Accounts: Separate metrics logic from store (#54085) 2022-08-23 08:24:55 -04:00
errors.go Service account: Update service accounts creation (#51848) 2022-07-07 17:32:56 +01:00
models.go NavTree: Refactor out the navtree building from api/index.go and into it's own service (#55552) 2022-09-22 22:04:48 +02:00
serviceaccounts.go Service Accounts: Separate metrics logic from store (#54085) 2022-08-23 08:24:55 -04:00