grafana/pkg/services/accesscontrol
Ieva c16f502ec5
Access Control: Clean up permissions for deprovisioned data sources (#88483)
* make sure that DS permissions get correctly cleaned up when a DS is deleted through provisioning

* don't attempt to delete a DS if it's not found

* fixes for tests

* fix ds tests

* rename DS service used by DS provisioner to BaseDataSourceService to avoid confusions with the full DS service
2024-06-03 16:19:53 +03:00
..
acimpl RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
actest RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
api RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
database Actionsets: Add cfg option for only writing actionsets (#88367) 2024-05-28 16:32:23 +01:00
migrator Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
mock Access Control: Clean up permissions for deprovisioned data sources (#88483) 2024-06-03 16:19:53 +03:00
ossaccesscontrol Dashboards: Correctly display Admin access to dashboards in the UI (#88439) 2024-05-30 10:06:01 +03:00
pluginutils RBAC: Reject plugin registrations without a name (#81719) 2024-02-02 11:12:00 +01:00
resourcepermissions Actionsets: Add cfg option for only writing actionsets (#88367) 2024-05-28 16:32:23 +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 RBAC: Expand action sets when fetching permissions (#87967) 2024-05-21 15:09:26 +01:00
authorize_in_org_test.go Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
cacheutils_test.go Access control: Use search options for computing permissions cache key (#87589) 2024-05-10 12:06:52 +03:00
cacheutils.go Access control: Use search options for computing permissions cache key (#87589) 2024-05-10 12:06:52 +03: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 IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
evaluator_test.go RBAC: handle partially resolved scopes (#85323) 2024-03-28 10:08:07 +01:00
evaluator.go RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01: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 Access control: Cache basic roles and teams permissions (#87043) 2024-05-07 15:23:11 +02:00
metadata_bench_test.go Chore: Fix error handling in postDashboard, remove UserDisplayDTO, fix live redis client initialization (#87206) 2024-05-06 14:17:34 -04: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 Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
middleware.go IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05:00
models_test.go ExtSvcAuth: Assign roles locally (#78669) 2023-11-29 12:12:30 +01:00
models.go Alerting: Add two sets of provisioning actions for rules and notifications (#87149) 2024-05-09 13:19:07 -04:00
resolvers_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
resolvers.go RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
roles_test.go AccessControl: Remove package lists for roles and grants (#47141) 2022-04-06 09:31:14 +02:00
roles.go IAM - Fix error messages for resource permissions endpoints (#85773) 2024-04-17 08:53:28 -05: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