Skip to content

fix: CSV endpoints incorrectly responding with 403 #859

fix: CSV endpoints incorrectly responding with 403

fix: CSV endpoints incorrectly responding with 403 #859

Triggered via pull request August 19, 2025 14:26
Status Failure
Total duration 5m 19s
Artifacts

ci.yml

on: pull_request
common  /  Check commit messages
15s
common / Check commit messages
common  /  Run pre-commit hooks
16s
common / Run pre-commit hooks
common  /  Run tests and SonarQube Cloud scan
5m 14s
common / Run tests and SonarQube Cloud scan
Fit to window
Zoom out
Zoom in

Annotations

1 error
common / Check commit messages
You have commit messages with errors ⧗ input: fix: CSV endpoints incorrectly responding with 403 The logic for authenticating admin (staff) users was refactored previously. Along this users were migrated from using Django's is_staff to using a custom is_event_staff. The ExportReportCsvView was not updated to reflect this change, which resulted in admin users receiving 403 errors when attempting to download CSV files. refs: PT-1812, PT-1942 ✖ subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case] ✖ found 1 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint