Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More fine-grained capabilities for stories #3262

Closed
swissspidy opened this issue Jul 17, 2020 · 0 comments · Fixed by #3507
Closed

More fine-grained capabilities for stories #3262

swissspidy opened this issue Jul 17, 2020 · 0 comments · Fixed by #3507
Labels
Group: WordPress Changes related to WordPress or Gutenberg integration Type: Enhancement New feature or improvement of an existing feature

Comments

@swissspidy
Copy link
Collaborator

swissspidy commented Jul 17, 2020

Feature Description

This was raised by a user as a comment to 9ce45c4.

Their suggestion was to set up the capabilites for the stories editor so that they could be configured differently from posts and pages. Quote:

Create a separate user capabilities permission to differentiate with posts and pages. Easier way to imagine this is if I'm using User Role Editor plugin to change role capabilities, I would see Read Post, Read Page, Read Story and Edit Post, Edit Page, Edit Story and so on.

Personally I've used the 'Members' plugin in the past, and being able to grant users only rights to edit stories but no posts in the Members UI would be really nice.

We could probably use custom edit_story caps and the like when registering the post type, and then map_meta_cap to map to existing edit_posts cap.

Alternatives Considered

Additional Context


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance Criteria

Implementation Brief

@swissspidy swissspidy added Type: Enhancement New feature or improvement of an existing feature Group: WordPress Changes related to WordPress or Gutenberg integration Pod: WP & Infra labels Jul 17, 2020
@bmattb bmattb added this to the Sprint 34 milestone Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Group: WordPress Changes related to WordPress or Gutenberg integration Type: Enhancement New feature or improvement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants