Skip to content

[Contracts] Add content appeal and reinstatement #315

@Kaylahray

Description

@Kaylahray

Description

Content can be flagged and auto-suspended, but there is no structured on-chain appeal flow to restore content after moderation review.

User Story

As a user,
I want to appeal a moderation suspension,
so that valid content can be restored when the review was incorrect.

Requirements and Context

  • Files: contracts/geev-core/src/governance.rs, contracts/geev-core/src/admin.rs, contracts/geev-core/src/test.rs
  • Add an appeal state and a reinstatement action
  • Restrict appeal resolution to admin or moderator authority
  • Preserve the original flag count and moderation history for auditability

Suggested Implementation

// APPEAL FLOW
// 1. Mark a flagged item as under appeal.
// 2. Allow an admin to restore the item or keep it suspended.
// 3. Keep the flag and moderation history intact.
// 4. Emit appeal resolution events.

Acceptance Criteria

  • Suspended content can enter an appeal state.
  • Admins can reinstate content after review.
  • Moderation history is preserved for audit purposes.

Submission Guidelines

  • Branch: feat/content-appeals
  • Depends on: content flagging and suspension logic
  • PR: feat(contracts): add moderation appeal and reinstatement flow

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions