abuse Violation Reports¶
Author: Zhenyu Yang yangzhenyu@sust.edu.cn
Last updated: Apr 24, 2026
Corresponding API docs: Abuse Report API
abuse Code Entry¶
backend/apps/abuse/models/__init__.pybackend/apps/abuse/views/__init__.py
abuse Core Data¶
AbuseReport¶
Key fields:
reporterclassroomdescriptionimagesstatusremark
Status enum:
openprocessingresolved
abuse Permission Boundaries¶
All endpoints require authentication.
List / detail:
superadmincan see all reports.Other users can only see their own submitted reports.
Update:
superadminonly.
Implementation Notes¶
This is a very thin module with no complex approval flow.
The view layer does not write operation logs. If auditing is needed in the future, it should follow the same pattern used in
repairsandborrowings.