openedx / openedx/openedx-platform

bulk_delete_user_posts REST API issues

Open
#37,402 1 comment 0 reactions 1 assignee View on GitHub

@ormsbee is already working on this.

Since Nov 25, 2025.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

It was originally implemented by:

Issues with the original implementation:

  • It makes user-facing changes but did not go through community product review
  • Documentation incorrectly states that deleted posts are limited to course_id; they actually span across the entire org containing course_id if course_or_org=="org".
  • Related to ^, it allows anyone with staff or forum mod role in course-v1:MyOrg+X+Y to bulk-delete posts across all of MyOrg. This is a security flaw.
  • Does not use api_doc_tools; documentation can only be viewed in the codebase.
  • Does not work with MySQL-backed forums
  • Adds utility code which reaches directly in MongoDB-backed forums interface

We are reverting the frontend changes:

For the backend, we will do one of the following:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.