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
..
2022-06-30 09:31:54 -04:00
2022-08-10 15:37:51 +02:00
2022-06-27 12:23:15 -04:00
2022-11-03 11:30:12 -08:00
2022-08-10 15:37:51 +02:00
2022-10-21 13:54:55 +02:00
2022-08-09 14:58:50 +02:00
2022-02-02 18:48:46 +01:00
2022-02-08 13:38:43 +01:00
2022-09-22 22:04:48 +02:00
2022-09-02 14:20:10 +02:00
2022-08-01 18:17:42 +02:00
2022-08-01 18:17:42 +02:00
2022-06-14 10:17:48 +02:00
2022-09-27 07:58:49 -04:00
2022-10-04 14:14:32 +02:00
2022-08-10 11:56:48 +02:00
2022-09-12 10:40:35 +03:00
2022-10-19 09:02:15 -04:00
2022-09-23 06:04:41 -04:00
2022-10-14 09:51:05 -04:00
2022-09-12 10:40:35 +03:00
2022-08-11 13:28:55 +02:00
2022-11-07 11:30:45 +01:00
2022-08-11 13:28:55 +02:00
2022-08-11 13:28:55 +02:00
2022-09-20 18:58:04 +02:00
2022-08-30 17:19:52 +02:00
2022-11-02 09:15:50 -04:00
2022-11-03 11:30:12 -08:00
2022-07-27 09:54:37 -04:00
2022-09-28 08:29:35 +02:00
2022-10-21 13:54:55 +02:00
2022-09-28 08:29:35 +02:00
2022-10-10 21:47:53 +02:00
2022-08-11 13:28:55 +02:00
2022-10-10 21:47:53 +02:00
2022-08-11 13:28:55 +02:00
2022-09-12 13:04:43 +03:00
2022-09-12 13:04:43 +03:00
2021-12-02 09:34:39 +01:00
2022-10-19 09:02:15 -04:00
2022-10-18 15:44:33 -04:00
2022-04-11 13:17:08 +02:00
2022-02-04 14:33:35 +01:00
2022-02-04 14:33:35 +01:00
2022-03-29 11:18:26 +02:00
2022-11-01 15:04:01 +01:00
2022-09-28 08:29:35 +02:00
2022-09-20 09:55:40 +02:00
2022-09-20 09:55:40 +02:00
2022-10-19 09:02:15 -04:00
2022-10-20 05:50:12 -04:00
2022-09-28 08:29:35 +02:00
2022-10-31 09:11:31 +01:00
2022-11-02 14:51:51 +01:00
2022-10-14 10:27:06 -04:00
2022-08-04 13:51:12 -03:00
2022-08-11 15:37:31 +02:00
2022-09-27 07:58:49 -04:00
2022-10-05 15:47:56 +02:00
2022-10-19 09:02:15 -04:00
2022-09-26 18:53:17 +02:00
2022-10-05 15:47:56 +02:00
2022-08-10 10:21:33 +02:00
2022-10-04 11:11:18 -04:00
2022-10-04 11:11:18 -04:00
2022-08-11 13:28:55 +02:00
2022-08-11 13:28:55 +02:00
2022-08-10 15:37:51 +02:00
2022-03-29 11:18:26 +02:00
2022-08-23 13:05:31 +02:00
2022-08-23 13:05:31 +02:00
2022-10-21 13:54:55 +02:00
2022-10-21 13:54:55 +02:00
2022-11-07 11:16:17 +01:00
2022-09-22 22:04:48 +02:00
2022-08-26 12:40:40 -04:00
2022-09-22 22:04:48 +02:00
2022-09-12 10:40:35 +03:00
2022-08-11 13:28:55 +02:00
2022-08-11 15:37:31 +02:00
2022-09-12 10:40:35 +03:00
2022-08-11 13:28:55 +02:00
2022-08-11 13:28:55 +02:00
2022-09-20 11:29:17 +02:00
2022-10-05 22:32:49 +02:00
2022-07-27 09:54:37 -04:00
2022-07-27 09:54:37 -04:00
2022-04-15 08:01:58 -04:00
2022-10-19 09:02:15 -04:00
2022-09-20 18:58:04 +02:00
2022-10-20 09:11:47 +02:00
2022-09-20 18:58:04 +02:00
2022-10-19 09:02:15 -04:00
2022-08-11 13:28:55 +02:00
2022-08-11 13:28:55 +02:00
2022-10-05 15:47:56 +02:00