grafana/pkg/services/dashboards
Eric Leijonmarck 9ab064bfc5
Folders: Add admin permissions upon creation of a folder w. SA (#95072)
* add admin permissions upon creation of a folder w. SA

* Update pkg/services/folder/folderimpl/folder.go

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

* Grant service account permissions for creation of dashboards

* Grant service account admin permissions upon creating a datasource

* fetch user using the userservice with the userid

* Revert "fetch user using the userservice with the userid"

This reverts commit 23cba78752.

* revert back to original datasource creation

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2024-10-23 14:02:22 +01:00
..
dashboardaccess Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
database Zanzana: Initial dashboard search (#93093) 2024-10-04 12:27:10 +02:00
service Folders: Add admin permissions upon creation of a folder w. SA (#95072) 2024-10-23 14:02:22 +01:00
accesscontrol_test.go Folders: Set folder creation permission as part of legacy create (#94040) 2024-10-01 14:03:02 +02:00
accesscontrol.go Folders: Set folder creation permission as part of legacy create (#94040) 2024-10-01 14:03:02 +02:00
dashboard_provisioning_mock.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
dashboard_service_mock.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
dashboard.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
errors.go Zanzana: Initial dashboard search (#93093) 2024-10-04 12:27:10 +02:00
models_test.go Remove folderid service test (#80433) 2024-01-12 16:43:39 +01:00
models.go Zanzana: Initial dashboard search (#93093) 2024-10-04 12:27:10 +02:00
store_mock.go Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00