Skip to content

Add auth guards to sensitive mutating endpoints#596

Merged
maxachis merged 1 commit intodevfrom
fix-574-sensitive-endpoint-auth
Mar 9, 2026
Merged

Add auth guards to sensitive mutating endpoints#596
maxachis merged 1 commit intodevfrom
fix-574-sensitive-endpoint-auth

Conversation

@maxachis
Copy link
Collaborator

Summary

  • require admin auth for proposal mutation endpoints that were missing protection
  • require authenticated user auth for
  • add regression test coverage to prevent future auth drift on these routes

Testing

  • uv run pytest -q tests/automated/integration/api/test_sensitive_endpoint_auth_config.py

Closes #574

Copy link
Contributor

@josh-chamberlain josh-chamberlain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm...yikes! nice catch

@maxachis maxachis merged commit b52c99e into dev Mar 9, 2026
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