grafana/pkg/plugins
Ieva 52220b2470
AccessControl: frontend changes for adding FGAC to licensing (#39484)
* refactor licenseURL function to use context and export permission evaluation fction

* remove provisioning file

* refactor licenseURL to take in a bool to avoid circular dependencies

* remove function for appending nav link, as it was only used once and move the function to create admin node

* better argument names

* create a function for permission checking

* extend permission checking when displaying server stats

* enable the use of enterprise access control actions when evaluating permissions

* import ordering

* move licensing FGAC action definitions to models package to allow access from oss

* move evaluatePermissions for routes to context serve

* change permission evaluator to take in more permissions

* move licensing FGAC actions again to appease wire

* avoid index out of bounds issue in case no children are passed in when creating server admin node

* simplify syntax for permission checking

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* update loading state for server stats

* linting

* more linting

* fix test

* fix a frontend test

* update "licensing.reports:read" action naming

* UI doesn't allow reading only licensing reports and not the rest of licensing info

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2021-10-05 14:54:26 +01:00
..
adapters Live: stream resubmit on ds change, fix old ds settings in RunStream (#34130) 2021-05-18 21:39:56 +03:00
backendplugin AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
manager Chore: Add context for dashboards (#39844) 2021-10-05 13:26:24 +02:00
plugincontext Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
plugindashboards Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
app_plugin.go Pick changes from PR 33811, use UID in dashboard navlinks (#36899) 2021-07-22 09:11:33 +02:00
backend_utils.go Chore: Fix various spelling errors in back-end code (#25241) 2020-06-01 17:11:25 +02:00
dashboards.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
dataframes.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
datasource_plugin.go Chore: Refactor backend plugin manager/tsdb query data (#34944) 2021-06-03 14:16:58 +02:00
error.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
frontend_plugin_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
frontend_plugin.go Plugins: Enable plugin runtime install/uninstall capabilities (#33836) 2021-05-12 20:05:16 +02:00
ifaces.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
models.go track signature files + add warn log (#38938) 2021-09-08 08:49:05 +02:00
panel_plugin.go PanelEdit: Improves viz picker ux, auto close on click (#33633) 2021-05-03 16:49:09 +02:00
plugins.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00
renderer_plugin.go Chore: Refactor backend plugin manager/tsdb query data (#34944) 2021-06-03 14:16:58 +02:00
state.go track signature files + add warn log (#38938) 2021-09-08 08:49:05 +02:00
tsdb.go Chore: Refactor backend plugin manager/tsdb query data (#34944) 2021-06-03 14:16:58 +02:00