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

fix auth middleware integration #1033

Merged
merged 1 commit into from
Mar 17, 2025
Merged

fix auth middleware integration #1033

merged 1 commit into from
Mar 17, 2025

Conversation

piax93
Copy link
Contributor

@piax93 piax93 commented Mar 17, 2025

In #1005 I misinterpreted the way the Twisted web framework works, as I thought that by overriding the render method in the root API resource that would get called also for all the child page declared by that class.
That is not the case, so this creates a new base class which I'm explicitly setting as the base for all relevant API resources (I left out "status" and "metrics" since I had no intention of having them authenticated anyways).

@piax93 piax93 requested a review from a team as a code owner March 17, 2025 14:13
@KaspariK KaspariK merged commit 16e96b4 into master Mar 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants