grafana/public/app/core/services
Jack Westbrook 40207c53ae
Plugins: Expose functions to plugins for checking RBAC permissions (#89047)
* feat(grafana-data): create rbac functions for checking permissions

* feat(grafana-runtime): pass current user to runtime

* feat(grafana-runtime): expose rbac functions to check permissions against current user

* refactor(contextsrv): use functions from grafana/data to check rbac permissions against user

* Apply suggestions from code review

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* chore(rbac): fix missing types imports

* refactor(rbac): make exposed functions return boolean

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-06-26 17:29:17 +02:00
..
__mocks__ K8s/Dashboards: Add frontend api to switch between implementations (#88632) 2024-06-05 17:34:23 +03:00
echo Echo: Don't notify if PerformanceBackend errors when flushing (#89379) 2024-06-19 10:00:49 +01:00
mousetrap Keybinds: Allow move time range shortcuts (t left / t right) to be chained (#88904) 2024-06-11 15:13:49 +01:00
backend_srv.ts K8s/Dashboards: Add frontend api to switch between implementations (#88632) 2024-06-05 17:34:23 +03:00
context_srv.ts Plugins: Expose functions to plugins for checking RBAC permissions (#89047) 2024-06-26 17:29:17 +02:00
FetchQueue.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
FetchQueue.ts Chore: Improve some types (#64675) 2023-03-14 09:51:44 +00:00
FetchQueueWorker.test.ts remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
FetchQueueWorker.ts Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
impression_srv.ts Search: Migrated impressions to use dashboardUID (#53090) 2022-08-08 11:13:19 +02:00
KeybindingSet.ts Keybinds: Vendor Mousetrap (#88603) 2024-06-04 09:35:19 +01:00
keybindingSrv.ts Keybinds: Vendor Mousetrap (#88603) 2024-06-04 09:35:19 +01:00
NewFrontendAssetsChecker.test.ts Frontend: Reload the browser when backend configuration/assets change (#79057) 2024-01-04 08:00:07 +01:00
NewFrontendAssetsChecker.ts Frontend: Reload the browser when backend configuration/assets change (#79057) 2024-01-04 08:00:07 +01:00
PreferencesService.ts Chore: Improve some types (#64675) 2023-03-14 09:51:44 +00:00
ResponseQueue.test.ts remove exported test globals from test/lib/common (#50256) 2022-06-06 15:38:37 +01:00
ResponseQueue.ts Chore: More typescript improvements 💪 (#68699) 2023-05-22 11:53:58 +01:00
StateManagerBase.ts Search: Refactor state and logic to be less fragmented and spread out (#57973) 2022-11-03 08:29:39 +01:00
theme.ts Frontend: Reload the browser when backend configuration/assets change (#79057) 2024-01-04 08:00:07 +01:00