Goal:
Ensure the system remains a reliable "Source of Truth" by implementing an administrative gatekeeping workflow.
Tasks:
- Add
review_status field (Pending, Approved) to the WorkRecord model.
- Force all
POST/PATCH actions to default review_status to "Pending".
- Implement soft-delete functionality for record recovery to ensure no entry is easily deleted without recovery.
- Link the three footer buttons on the Admin dashboard to backend approval/rejection endpoints.
- Ensure this is reflected on the frontend as well.
Acceptance Criteria:
- No record can be added or edited without it being flagged as needing review.
- Admins can bulk-approve or reject items via the Admin dashboard.
- Deleted records are hidden from the UI but remain in the database for recovery.
Goal:
Ensure the system remains a reliable "Source of Truth" by implementing an administrative gatekeeping workflow.
Tasks:
review_statusfield (Pending, Approved) to theWorkRecordmodel.POST/PATCHactions to defaultreview_statusto "Pending".Acceptance Criteria: