grafana/pkg/services/libraryelements
Karl Persson c4a75f9eb3
RBAC: Add scope resolvers for dashboards (#50110)
* Inject access control into dashboard service

* Add function to parse id scopes

* Add dashboard as return value

* Update mock

* Return only err to keep service interface

* Add scope resolvers for dashboard id scopes

* Add function to parse uid scopes

* Add dashboard uid scope resolver

* Register scope resolvers for dashboards

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-06-07 11:02:20 +02:00
..
api.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
database.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
guard.go Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
libraryelements_create_test.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
libraryelements_delete_test.go API: return resource ID when deleting datasource with UID and library element (#41342) 2021-11-05 15:06:14 +01:00
libraryelements_get_all_test.go Chore: Refactor api handlers to use web.Bind (#42199) 2021-11-29 10:18:01 +01:00
libraryelements_get_test.go Chore: replace macaron with web package (#40136) 2021-10-11 14:30:59 +02:00
libraryelements_patch_test.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
libraryelements_permissions_test.go API: Extract OpenAPI specification from source code using go-swagger (#40528) 2022-02-08 13:38:43 +01:00
libraryelements_test.go RBAC: Add scope resolvers for dashboards (#50110) 2022-06-07 11:02:20 +02:00
libraryelements.go Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
models.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
writers.go LibraryElements: Creates usage stats for panels and variables (#34476) 2021-05-24 06:11:01 +02:00