Skip to content

Add audited cancellation of mail deliveries that have not started #31

Open

Description

@LunaStev

Motivation

Administrators can inspect a queued/deferred mail delivery but cannot stop an unwanted pending send using a platform operation.

Code references

Audit baseline: 50eb207.

Completion criteria

  • Define a terminal cancelled state for eligible queued/deferred work, coordinated atomically with worker claiming.
  • Reject cancellation once submission has begun unless a safe contract explicitly supports it; do not claim to recall delivered mail.
  • Require administrator authorization, confirmation and durable audit records.
  • Test worker/cancel races, repeated cancellation, forbidden users and counter/UI consistency.

Scope and dependencies

Difficulty: high.

Depends on #13, #26 and #17. No deletion of RFC messages or historical audit entries.

Backlog index: #12. Keep the change limited to this issue and include focused verification in the pull request.

Activity

  1. added
    enhancement
    help wanted
    administration
    priority medium
    needs testing
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    administrationenhancementhelp wantedneeds testingpriority medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions