grafana/pkg/services/accesscontrol/resourcepermissions
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_test.go Chore: Move team store implementation to a separate package (#55514) 2022-09-22 19:16:21 +02:00
api.go RBAC: Display indicator if a permission is inherited (#54080) 2022-08-23 05:34:19 -04:00
error.go Access Control: Pass db session to hooks (#44428) 2022-01-25 17:12:00 +01:00
hook.go RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
middleware.go RBAC: Remove unused code (#53649) 2022-08-12 13:02:24 +02:00
models.go RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
options.go RBAC: Remove workaround to check permissions on folders for dashboard actions (#50291) 2022-06-07 13:21:56 +02:00
service_test.go UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
service.go UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
store_bench_test.go Chore: Move team store implementation to a separate package (#55514) 2022-09-22 19:16:21 +02:00
store_test.go RBAC: Move resource permissions store to service package (#53815) 2022-08-18 09:43:45 +02:00
store.go RBAC: Batch permission creation (#55075) 2022-09-14 15:14:09 +02:00