fix: CSV endpoints incorrectly responding with 403 #859
ci.yml
on: pull_request
common
/
Check commit messages
15s
common
/
Run pre-commit hooks
16s
common
/
Run tests and SonarQube Cloud scan
5m 14s
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
|