Skip to content

feat: add platform moderation actions - #58

Merged
darwin67 merged 3 commits into
mainfrom
feat/rfd1-admin-moderation
Aug 26, 2026
Merged

feat: add platform moderation actions#58
darwin67 merged 3 commits into
mainfrom
feat/rfd1-admin-moderation

Conversation

@darwin67

@darwin67 darwin67 commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

  • add reasoned, recently reauthenticated administrative paste deletion and account controls
  • expire moderated pastes atomically with their audit event before retryable storage cleanup
  • preserve legacy inline-paste integrity metadata and the audit reason schema
  • hide ineligible account actions and clear stale controls after successful mutations

Verification

  • mix test test/textbin/administration/migration_test.exs test/textbin_web/live/ui/admin_live_test.exs
  • mix precommit (499 tests)

Dependency

The RFD 1 report-review queue remains deferred until RFD 4 introduces the report model and state machine.

Implement reasoned, recently reauthenticated paste and account moderation in the platform administration panel.

Administrative paste removal now expires content and appends its audit event atomically before retryable storage cleanup, preserving the moderation decision through storage outages.
Backfill legacy inline paste hashes alongside sizes so integrity checks continue to pass after migration.

Keep the structure snapshot aligned with the audit migration's text reason column and cover both regressions.
Hide ineligible platform account actions, prevent self-suspension from being offered, and clear stale lookup controls after successful mutations.

Add LiveView regression coverage for actor and target eligibility.
@github-actions github-actions Bot added the feat label Aug 26, 2026
@darwin67
darwin67 merged commit 3fe4184 into main Aug 26, 2026
25 checks passed
@darwin67
darwin67 deleted the feat/rfd1-admin-moderation branch August 26, 2026 19:16
@chaba2-bot chaba2-bot Bot mentioned this pull request Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant