Skip to:
Content

Opened 17 months ago

Closed 15 months ago

Last modified 4 weeks ago

#3167 closed enhancement (fixed)

Single topic-tag capabilities

Reported by: johnjamesjacoby Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.0
Component: API - Roles/Capabilities Keywords: commit
Cc:

Description

WordPress supports single taxonomy term capabilities since 4.4, so topic-tags can now start passing in tag and topic IDs where appropriate. Let's integrate support for this in 2.6.

  • IDs need to be added to a few capability checks
  • bbp_map_topic_tag_meta_caps() needs checks akin to the other mappings
  • Some plural checks need to use singular equivalents

Change History (3)

#1 @johnjamesjacoby
17 months ago

In 6714:

Capabilities: first pass at single topic-tag cap mappings.

This change adds IDs where appropriate, and introduces single term cap checks with intelligent comparisons that match the approach used by forums, topics, and replies.

  • Inactive users cannot assign, manage, edit, or delete
  • Moderators can assign, manage, edit, and delete
  • Participants can assign
  • Spectators & Blocked users still cannot manipulate topic tags in any way

This prepares bbPress for third-party plugins to leverage topic-tags in ways it otherwise wasn't prepared to do.

See #3167.

#2 @johnjamesjacoby
15 months ago

  • Resolution set to fixed
  • Status changed from new to closed

This is done enough for 2.6. More can come in 2.7.

#3 @johnjamesjacoby
4 weeks ago

Assigning all closed & unassigned tickets in the 2.6 milestone to myself.

Note: See TracTickets for help on using tickets.