grafana/pkg/plugins/manager/testdata
Gabriel MABILLE 30fae33f66
RBAC: Allow role registration for plugins (#57387)
* Picking role registration from OnCall POC branch

* Fix test

* Remove include actions from this PR

* Removing unused permission

* Adding test to DeclarePluginRoles

* Add testcase to RegisterFixed role

* Additional test case

* Adding tests to validate plugins roles

* Add test to plugin loader

* Nit.

* Scuemata validation

* Changing the design to decouple accesscontrol from plugin management

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* Fixing tests

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* Add missing files

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* Remove feature toggle check from loader

* Remove feature toggleimport

* Feedback

Co-Authored-By: marefr <marcus.efraimsson@gmail.com>

* Fix test'

* Make plugins.RoleRegistry interface typed

* Remove comment question

* No need for json tags anymore

* Nit. log

* Adding the schema validation

* Remove group to take plugin Name instead

* Revert sqlstore -> db

* Nit.

* Nit. on tests

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>

* Update pkg/services/accesscontrol/plugins.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Log message

Co-Authored-By: marefr <marcus.efraimsson@gmail.com>

* Log message

Co-Authored-By: marefr <marcus.efraimsson@gmail.com>

* Remove unecessary method. Update test name.

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>

* Fix linting

* Update cue descriptions

* Fix test

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
Co-authored-by: marefr <marcus.efraimsson@gmail.com>
Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
2022-11-07 11:30:45 +01:00
..
app-with-child/dist fix and add test (#44286) 2022-01-21 11:00:20 +01:00
disallowed-cue-import plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
duplicate-plugins/nested Plugins: Enforce signing for all plugins (#34364) 2021-05-19 15:42:50 +02:00
includes-symlinks Plugins: Ignore symlinked folders when verifying plugin signature (#34434) 2021-06-15 11:55:47 +02:00
installer/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
invalid-plugin-json Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
invalid-v1-signature/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
invalid-v2-extra-file/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
invalid-v2-missing-file/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
lacking-files/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
mismatch plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
missing-slot-impl plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
name-id-mismatch plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
nested-plugins/parent plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
no-rootfile plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
non-pvt-with-root-url/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
panel-conflicting-joinschema plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
panel-does-not-follow-slot-joinschema plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
symbolic-plugin-dirs Plugins: fix test with bad symlink target (#35737) 2021-06-15 13:53:09 +02:00
test-app Plugins: Enforce signing for all plugins (#34364) 2021-05-19 15:42:50 +02:00
test-app-with-includes Plugins: Fix Default Nav URL for dashboard includes (#47143) 2022-04-06 10:50:39 +02:00
test-app-with-roles RBAC: Allow role registration for plugins (#57387) 2022-11-07 11:30:45 +01:00
unsigned-datasource/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
unsigned-panel/plugin Plugins: Enforce signing for all plugins (#34364) 2021-05-19 15:42:50 +02:00
valid-model-datasource plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
valid-model-panel plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
valid-v2-pvt-signature/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
valid-v2-pvt-signature-root-url-uri/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
valid-v2-signature/plugin plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00
wrong-slot-panel plugins: New static scanner and validator, with Thema slot support (#53754) 2022-08-22 12:11:45 -04:00