Skip to content

Add native Audit module to consent records#24

Open
hawkinslabdev wants to merge 3 commits intomainfrom
features/10
Open

Add native Audit module to consent records#24
hawkinslabdev wants to merge 3 commits intomainfrom
features/10

Conversation

@hawkinslabdev
Copy link
Copy Markdown
Collaborator

To make the consent flow more transparent for (backend) users and help reduce confusion or disputes about whether someone opted in or out, this PR aims to add a Audit module: allowing the user to access a simple consent history view that shows when preferences were modified and what changed.

This respects other modules (e.g. privacy guard in the application settings).

- Added ConsentAuditEntry model to represent audit records.
- Introduced ConsentAuditBackfillService for populating audit entries from existing consent records.
- Enhanced SubmissionFormService with actorId parameter for tracking changes.
- Created new API endpoint for retrieving audit logs with pagination and filtering options.
- Updated AdminEndpoints to include audit log retrieval functionality.
- Added new audit view in admin UI with table for displaying audit records.
- Implemented JavaScript functions for loading and filtering audit logs.
- Enhanced CSS for new audit components and status chips.
@hawkinslabdev hawkinslabdev self-assigned this Apr 23, 2026
@hawkinslabdev hawkinslabdev linked an issue Apr 23, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consent history with change summary

1 participant