grafana/pkg/services/accesscontrol
Gabriel MABILLE 5e48804364
RBAC: Fix slow user permission search query on MySQL (#85058)
* Bench testing search user perm

* Add BenchmarkSearchUsersPermissions_1K_1K

* Clarify benchmark searches by action prefix

* Make MySQL more efficient

* Move all filter options

* Expand after assignments union

* update comments
2024-03-25 19:11:17 +01:00
..
acimpl RBAC: Fix slow user permission search query on MySQL (#85058) 2024-03-25 19:11:17 +01:00
actest Access control: Extend GetUserPermissions() to query permissions in org (#83392) 2024-03-04 13:29:13 +01:00
api RBAC Search: Replace userLogin filter by namespacedID filter (#81810) 2024-02-16 11:42:36 +01:00
database RBAC: Fix slow user permission search query on MySQL (#85058) 2024-03-25 19:11:17 +01:00
migrator Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
mock Access control: Extend GetUserPermissions() to query permissions in org (#83392) 2024-03-04 13:29:13 +01:00
ossaccesscontrol RBAC: Annotation permission migration (#78899) 2024-01-26 17:17:29 +00:00
pluginutils RBAC: Reject plugin registrations without a name (#81719) 2024-02-02 11:12:00 +01:00
resourcepermissions Teams: Fix missing context in team service (#83327) 2024-02-27 11:10:54 +01:00
ssoutils Auth: Improve /admin/authentication permission checks and include new SSO pages (#81183) 2024-01-25 11:13:24 +01:00
accesscontrol_test.go AuthN: Remove embedded oauth server (#83146) 2024-02-26 11:29:09 +01:00
accesscontrol.go Access control: Extend GetUserPermissions() to query permissions in org (#83392) 2024-03-04 13:29:13 +01:00
authorize_in_org_test.go RBAC: Fix authorize in org (#81552) 2024-02-01 12:37:01 +01:00
checker_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
checker.go RBAC: Permission check performance improvements for the new search (#60729) 2023-01-27 12:12:30 +00:00
errors.go RBAC: Reject plugin registrations without a name (#81719) 2024-02-02 11:12:00 +01:00
evaluator_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
evaluator.go Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
filter_bench_test.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
filter_test.go Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
filter.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03: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 AccessControl: Remove acmock.New from accesscontrol service tests (#71942) 2023-07-20 10:00:46 +02:00
middleware.go Access Control: Get global role from request params (#84469) 2024-03-14 16:17:24 +01:00
models_test.go ExtSvcAuth: Assign roles locally (#78669) 2023-11-29 12:12:30 +01:00
models.go Alerting: Editor role can access all provisioning API (#85022) 2024-03-23 00:14:15 +02:00
resolvers_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
resolvers.go Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +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: Add ActionSettingsRead action to general.auth.config writer (#84366) 2024-03-13 14:48:13 +01:00
scope_test.go RBAC: Add function to generate wildcards from prefix (#54275) 2022-08-26 17:10:35 +02:00
scope.go RBAC: Permission check performance improvements for the new search (#60729) 2023-01-27 12:12:30 +00:00