idafurjes
6c5a573772
Chore: Move ReqContext to contexthandler service ( #62102 )
...
* Chore: Move ReqContext to contexthandler service
* Rename package to contextmodel
* Generate ngalert files
* Remove unused imports
2023-01-27 08:50:36 +01:00
Gabriel MABILLE
101349fe49
RBAC: Add permissions to install and configure plugins ( #51829 )
...
* RBAC: Allow app plugins restriction
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
* Moving declaration to HttpServer
Co-Authored-By: marefr <marcus.efraimsson@gmail.com >
* Picking changes from the other branch
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
* Rename plugins.settings to plugins
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
* Account for PluginAdminExternalManageEnabled
Co-authored-by: Will Browne <will.browne@grafana.com >
* Set metadata on instantiation
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
Co-authored-by: marefr <marcus.efraimsson@gmail.com >
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
2022-09-09 09:44:50 +02:00
Karl Persson
5a1b9d2283
RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service ( #54153 )
...
* RBAC: Remove DeclareFixedRoles wrapper on Access control and inject service when needed
2022-08-26 09:59:34 +02:00
idafurjes
6afad51761
Move SignedInUser to user service and RoleType and Roles to org ( #53445 )
...
* Move SignedInUser to user service and RoleType and Roles to org
* Use go naming convention for roles
* Fix some imports and leftovers
* Fix ldap debug test
* Fix lint
* Fix lint 2
* Fix lint 3
* Fix type and not needed conversion
* Clean up messages in api tests
* Clean up api tests 2
2022-08-10 11:56:48 +02:00
Gabriel MABILLE
5975c4bc6d
RBAC: Allow app plugins access restriction ( #51524 )
...
* RBAC: Allow app plugins restriction
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
* Fix tests
* Imports
* WIP
* Adding RBAC to AppPluginsRoutes
* Switching middleware order
* Restrict access to resources
* Nit
* Cosmetic changes
* Fix fallback
* Moving declaration to HttpServer
Co-Authored-By: marefr <marcus.efraimsson@gmail.com >
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
Co-authored-by: marefr <marcus.efraimsson@gmail.com >
2022-07-08 13:24:09 +02:00