grafana/pkg/plugins
Eric Leijonmarck 248af65f9c
Actionsets: Add ability for plugins to add actions for core actionsets (i.e. `folders:edit`) (#88776)
* initial commit

* Action sets stored
remove the dependancy for actionsets
got the actionsets registered
storing the permissions

* fix golanglinting

* remove unused struct field

* wip

* actionset registry for a plugin from the actionsetservice

* update to make declareactionset the primary way of plugin registration and modification

* declare actually extends actionsets

* tests fixed

* tests skipped

* skip tests

* skip tests

* skip tests

* skip tests

* change to warning instead

* remove step from pipeline to see if it fails due to plugin not registering

* reintroduce step but remove features dependancy

* add back the tests that were failing

* remove comments and another skip test

* fix a comment and remove unneeded changes

* fix and clean up, put the behaviour behind a feature toggle

* clean up

* fixing tests

* hard-code allowed action sets for plugins

* Apply suggestions from code review

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* small cleanup

---------

Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-07-19 16:16:23 +01:00
..
auth Schemas: Refactor plugin's metadata (#83696) 2024-03-07 11:09:19 +01:00
backendplugin Elasticsearch: Decouple backend from infra/tracing (#90528) 2024-07-19 09:26:10 +02:00
codegen CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… (#89243) 2024-06-14 19:35:30 +03:00
config Plugins: Make grafana-com API URL usage consistent (#86920) 2024-04-26 16:47:38 +02:00
envvars Plugins: Refactor plugin config into separate env var and request scoped services (#83261) 2024-02-27 12:38:02 +01:00
httpresponsesender
instrumentationutils Plugins: Enhanced plugin instrumentation (#90199) 2024-07-09 15:03:46 +02:00
log Chore: Fix plugins manager process data race in tests (#81914) 2024-02-06 10:17:37 -03:00
manager Actionsets: Add ability for plugins to add actions for core actionsets (i.e. `folders:edit`) (#88776) 2024-07-19 16:16:23 +01:00
pfs Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
pluginrequestmeta Plugins: Add statusSource to partial data response error log (#78057) 2023-11-14 16:27:48 +02:00
pluginscdn Plugins: Refactor plugin config into separate env var and request scoped services (#83261) 2024-02-27 12:38:02 +01:00
repo chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
storage chore: Updating linter, fixing some new warnings (#88863) 2024-06-06 13:01:27 -04:00
apiserver.go K8s: Add basic query service (#80325) 2024-01-31 20:36:51 +02:00
apiserver_test.go K8s: Add basic query service (#80325) 2024-01-31 20:36:51 +02:00
errors.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
ifaces.go Actionsets: Add ability for plugins to add actions for core actionsets (i.e. `folders:edit`) (#88776) 2024-07-19 16:16:23 +01:00
localfiles.go
localfiles_test.go chore: Updating linter, fixing some new warnings (#88863) 2024-06-06 13:01:27 -04:00
models.go Actionsets: Add ability for plugins to add actions for core actionsets (i.e. `folders:edit`) (#88776) 2024-07-19 16:16:23 +01:00
plugins.go Actionsets: Add ability for plugins to add actions for core actionsets (i.e. `folders:edit`) (#88776) 2024-07-19 16:16:23 +01:00
plugins_test.go Plugins: Add fuzzy search to plugins catalogue (#81001) 2024-02-14 14:30:24 +01:00
test_utils.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00