Activity Review & Approval
Feature Detail
Description
The Activity Review & Approval feature provides organization administrators and coordinators a structured queue to inspect, validate, and formally approve or reject peer mentor activity submissions in the Admin Web Portal. Coordinators filter by status, date, peer mentor, and activity type, then approve submissions or return them for correction with documented reasoning. Approved activities flow into Bufdir-compatible reporting data while rejected submissions trigger notifications to the originating peer mentor. The workflow enforces a clear accountability chain from registration through to approved, reportable records.
Sources & reasoning
Line 329 places activity oversight explicitly in the Admin Web Portal MVP scope (Fase 1). Lines 195 and 263 confirm approval workflows and coordinator quality oversight are structural responsibilities of the admin portal. Blueprint marks this [MVP]. Bufdir reporting dependency makes approval gating critical priority - without it, grant compliance data cannot be trusted.
-
docs/source/likeperson.md · line 195Activity oversight, approval workflows, and corrections
-
docs/source/likeperson.md · line 263Coordinator oversees follow-up, quality, and approval
-
docs/source/likeperson.md · line 329Aktivitetsoversikt og grunnleggende statistikk
Analysis
All four participating organizations receive Bufdir funding contingent on verified activity data. Without a structured approval workflow, erroneous or unreviewed registrations could corrupt the reporting data that determines grant eligibility, creating regulatory risk for every organization on the platform. The Admin Web Portal MVP scope explicitly includes activity oversight as a core admin capability, meaning coordinators must be able to maintain data quality from launch day. The formal approval trail also enables dispute resolution and retrospective auditing, both critical for a multi-organization platform under government funding scrutiny. Centralizing approval replaces fragmented manual verification methods described by all four organizations in workshop sessions, reducing coordinator workload and error rates significantly.
Built as a Next.js server-side rendered page in the Admin Web Portal, the review queue exposes a paginated activity list via REST API endpoints with filtering on status, peer mentor, date range, and activity type. Optimistic locking prevents concurrent approval conflicts on the same record. State transitions (pending to approved or rejected) are persisted atomically with actor metadata and written to the audit_logs table via AuditLogService. Rejection events trigger PushNotificationService or EmailNotificationService to notify the originating peer mentor. ActivityOversightRepository abstracts all database queries, and ActivityApprovalService enforces role-gated approval permissions scoped to the coordinator's local association boundary, preventing cross-association access violations.
Components (7)
Shared Components
These components are reused across multiple features
User Stories
No user stories have been generated for this feature yet.