grafana/pkg/services/libraryelements
Josh Hunt b115e73ede
LibraryPanels: Require only viewer permissions to use a Library Panel (#50241)
* rename function to requireEditPermissionsOnFolder

* Require only viewer permissions on a folder when connecting a library panel from it

* update tests

* require edit permissions on the dashboard

* revert my change to the tests - these tests test something different

* revert changes to a test file???
2022-06-13 14:26:17 +01:00
..
api.go Chore: add Folderuid into panel-library API (#48577) 2022-05-05 10:04:54 +02:00
database.go LibraryPanels: Require only viewer permissions to use a Library Panel (#50241) 2022-06-13 14:26:17 +01:00
guard.go LibraryPanels: Require only viewer permissions to use a Library Panel (#50241) 2022-06-13 14:26:17 +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 LibraryPanels: Require only viewer permissions to use a Library Panel (#50241) 2022-06-13 14:26:17 +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