Skip to content

Show both drafts and published consents in admin, and add ability to archive consents - #257

Merged
KillerX merged 3 commits into
mainfrom
feature/all-consents-in-admin
Oct 30, 2026
Merged

KillerX merged 3 commits into
mainfrom
feature/all-consents-in-admin

Conversation

@sifferhans

@sifferhans sifferhans commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator
  • Drafted consents can now be viewed and edited via the admin interface.
    Drafts are visible in their own table above the published ones.
  • Archiving consents is now possible.
    We don't want to allow deleting them, as we want the audit trail for legal reasons (probably).

@sifferhans
sifferhans requested a review from KillerX October 28, 2026 11:26
@sifferhans sifferhans changed the title feat(consent): add archived_at + show all consents in admin Show both drafts and published consents in admin, and add ability to archive consents Oct 28, 2026
sifferhans and others added 3 commits October 30, 2026 14:24
Main's consent blocking (consent_blocked_user_ids, 00116/00117) predates
archived_at, so an archived required consent kept hiding users. 00118 now
redefines the function to skip archived keys, filtered after the
DISTINCT ON so archiving v2 does not make v1 block again, and
archive/unarchive apply the block changes to the cached boards and units.

Assisted by Claude Opus 5.5 via Claude Code
The project nav gained a consents entry; the mock lacked the permission
it reads.

Assisted by Claude Opus 5.5 via Claude Code
@KillerX
KillerX force-pushed the feature/all-consents-in-admin branch from 2baa6eb to 718fa20 Compare October 30, 2026 13:33
@KillerX
KillerX merged commit e4a5558 into main Oct 30, 2026
1 check passed
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.

2 participants