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

[BUGFIXING] Users with editor Role can't restrict content from sideba… #3238

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

MaximilianoRicoTabo
Copy link
Contributor

…r block

  • Add a different User role to the REST API Permissions check to allow restrict post to editors as well.

All Submissions:

Changes proposed in this Pull Request:

Tweak pmpro_rest_api_get_permissions_check function to allow Editor users role to be able to restrict posts from require membership sidebar widget

Resolves #3215 .

How to test the changes in this Pull Request:

Follow steps described in the issue above

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

…r block

 * Add a different User role to the REST API Permissions check to allow restrict post to editors as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor Role Require Membership options not being Saved
2 participants