MEDIUM story-bufdir-report-history-audit-log-coordinator-003 8 pts
8
Story Points
Medium
Priority
Bufdir Report History & Audit Log
Feature

User Story

As a Coordinator
I want to re-download or re-export any previously submitted Bufdir report in its original file format (Excel, CSV, or PDF)
So that I can provide a copy to Bufdir on request, share it with internal stakeholders, or archive it locally without needing to regenerate the report from scratch

Acceptance Criteria

  • Given the coordinator taps 're-export' on a historical report, when the action completes, then the original file is retrieved from storage and offered as a download or share-sheet option on the device
  • Given the original file has been purged from storage, when the coordinator requests a re-export, then the system clearly informs the coordinator that the file will be regenerated from historical data and asks for confirmation before proceeding
  • Given the coordinator confirms a re-export, when the file is generated, then an audit log entry is created recording the coordinator's user ID, timestamp, and report period
  • Given the re-export is in progress, when the coordinator waits, then a progress indicator is shown and the coordinator can navigate away without cancelling the process
  • Given the download completes, when the coordinator checks the audit log, then the re-export event is visible alongside the original submission event

Business Value

Coordinators regularly receive ad-hoc requests from Bufdir or internal management for copies of submitted reports. Without a re-export feature they must manually recreate reports or locate archived emails, wasting hours of coordinator time. Re-export with audit logging also satisfies Bufdir's requirement that organizations demonstrate traceability of all submitted grant documentation.