Skip to content

Edit Posts ability allows editing in a restricted category #1605

@trichoplax

Description

@trichoplax

Describe the bug
In a restricted category (such as Blog on Meta), only users with access can add new posts. These users should also be the only ones able to edit posts, but a user who gains the Edit Posts ability for that community can then edit posts in the restricted category.

Expected behavior

  1. After gaining the Edit Posts ability for a community, a user should still see "Suggest edit" rather than "Edit" below a post in a restricted category, so their posts will still need to be reviewed by a user with access.
  2. After gaining the Edit Posts ability for a community, a user should still not be able to approve suggested edits in a restricted category.

Screenshots
Notice the Edit button (even though I don't have access to post in the Blog category).
A post in the restricted Blog category, showing "Edit" below the post

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions