Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use auth middleware for LB #74

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Use auth middleware for LB #74

merged 2 commits into from
Apr 16, 2024

Conversation

mahendrapaipuri
Copy link
Owner

@mahendrapaipuri mahendrapaipuri commented Apr 13, 2024

  • Implement access control using middleware

  • Sync admin users from Grafana teams

  • Forbid all queries without X-Grafana-User header

  • Add new tests for TSDB queries

Closes #68

* Implement access control using middleware

* Sync admin users from Grafana teams

* Forbid all queries without X-Grafana-User header

* Add new tests for TSDB queries

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added enhancement New feature or request maintenance General maintenance labels Apr 13, 2024
* Fix passing Grafana team ID to middleware

* Pass query params to final handler using context

* Adapt tests and update fixtures

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri merged commit b7ccf3f into main Apr 16, 2024
6 checks passed
@mahendrapaipuri mahendrapaipuri deleted the lb_middleware branch April 16, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maintenance General maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add admin users config for LB. Sync admin users from Grafana
1 participant