grafana/pkg/services/publicdashboards/validation
Jeff Levin 331110bde5
refactor public dashboards middleware testing (#55706)
This PR refactors how we add the orgId to the context on a public dashboard paths. We also split out accessToken handling into its own package and rework status code for "RequiresValidAccessToken". We will be modeling all endpoints to use these status codes going forward. Additionally, it includes a scaffold for better middleware testing and refactors existing tests to table drive tests.
2022-10-06 12:35:19 -08:00
..
validation_test.go refactor public dashboards middleware testing (#55706) 2022-10-06 12:35:19 -08:00
validation.go refactor public dashboards middleware testing (#55706) 2022-10-06 12:35:19 -08:00