grafana/pkg/services/accesscontrol
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
..
acimpl RBAC: Initiate store in service (#55081) 2022-09-15 11:34:15 +02:00
actest RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service (#54153) 2022-08-26 09:59:34 +02:00
api RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
database Chore: Move team store implementation to a separate package (#55514) 2022-09-22 19:16:21 +02:00
mock RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
ossaccesscontrol UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
resourcepermissions UserService: use the UserService instead of calling sqlstore directly (#55745) 2022-09-27 07:58:49 -04:00
accesscontrol.go Auth: reduce allocs (#55410) 2022-09-20 12:03:08 +02:00
errors.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
evaluator_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
evaluator.go Remove unused error from evaluator Evaluate (#49305) 2022-05-20 10:26:57 +02:00
filter_bench_test.go remove datasource from sqlstore (#55288) 2022-09-16 06:20:26 -04:00
filter_test.go remove datasource from sqlstore (#55288) 2022-09-16 06:20:26 -04:00
filter.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata_bench_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
metadata.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
middleware_test.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
middleware.go RBAC: Remove service dependency in Evaluator component (#54910) 2022-09-09 09:07:45 +02: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
resolvers_test.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
resolvers.go RBAC: Fix resolver issue on wildcard resulting in wrong status code for endpoints (#54208) 2022-08-25 12:50:27 +02:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
scope_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
scope.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00