Skip to:
Content

bbPress.org

Opened 2 months ago

Closed 5 weeks ago

Last modified 5 weeks ago

#3680 closed enhancement (fixed)

Define edit permissions for closed topics and forums

Reported by: johnjamesjacoby Owned by: johnjamesjacoby
Priority: normal Milestone: 2.6.20
Component: API - Roles/Capabilities Version: trunk
Severity: normal Keywords: needs-design-feedback
Cc:

Description

bbPress currently treats closing a topic or forum primarily as preventing new content, while users who satisfy the normal edit capabilities may continue editing existing topics and replies.

The intended contract should be made explicit and enforced consistently. In particular:

  • Should closing a topic prevent edits to its existing topic and replies, or only prevent new replies?
  • Should closing a forum prevent edits to its existing descendant topics and replies, or only prevent new content?
  • Which roles and capabilities may override either restriction, including Keymasters, Moderators, and per-forum moderators?
  • Should the same rules apply through theme compatibility forms, wp-admin, REST, XML-RPC, and custom integrations?

Any change needs to preserve established extension points where practical and include capability tests for authors, Participants, Moderators, per-forum moderators, and Keymasters. The resulting behavior should also be documented so closing content has a predictable meaning for site owners and integrations.

Change History (3)

#1 @johnjamesjacoby
5 weeks ago

  • Owner set to johnjamesjacoby
  • Resolution → fixed
  • Status new → closed

In 7962:

Forums: Keep closed content editable.

Treat closed topics and forums as closed to new content without freezing existing edits. Keep closed topics publicly readable, preserve normal edit locks and capabilities across theme compatibility, REST, XML-RPC, and custom integrations, and keep other closed forums unavailable as move destinations.

In trunk, for 2.7.

Fixes #3680.

#2 @johnjamesjacoby
5 weeks ago

In 7963:

Forums: Keep closed content editable.

Treat closed topics and forums as closed to new content without freezing existing edits. Keep closed topics publicly readable, preserve normal edit locks and capabilities across theme compatibility, REST, XML-RPC, and custom integrations, and keep other closed forums unavailable as move destinations.

Merges [7962] to the 2.6 branch.

In branches/2.6, for 2.6.20.

See #3680.

#3 @johnjamesjacoby
5 weeks ago

  • Milestone Awaiting Review → 2.6.20
Note: See TracTickets for help on using tickets.