feat: add canOperateReports and canFlagReportContent functions for report management
This commit is contained in:
@@ -8,7 +8,8 @@ assign and resolve interventions while preserving history and basic analytics.
|
||||
- `citizen`: registers, requests OTP login, creates reports, follows own reports,
|
||||
sends messages and leaves feedback after resolution.
|
||||
- `operator`: views reports, takes open reports, assigns teams, updates managed
|
||||
reports and messages citizens.
|
||||
reports, messages citizens and flags abusive/fake citizen content on managed
|
||||
reports.
|
||||
- `admin`: manages users, roles, reference data, teams, areas and all reports.
|
||||
|
||||
The system admin seed must change password before using protected operational
|
||||
@@ -25,7 +26,7 @@ or administrative APIs.
|
||||
|
||||
Valid milestone 2 transitions:
|
||||
|
||||
- `OPEN -> UNDER_REVIEW` when an operator/admin takes the report.
|
||||
- `OPEN -> UNDER_REVIEW` when an operator takes the report.
|
||||
- `UNDER_REVIEW -> ASSIGNED` when a team is assigned.
|
||||
- `ASSIGNED -> IN_PROGRESS`.
|
||||
- `IN_PROGRESS -> RESOLVED`.
|
||||
|
||||
Reference in New Issue
Block a user