0
Under review

Allow editor role the ability to manage reviews?

JPJP 3 years ago updated by Josh 3 years ago 5

I would like to allow the website editor role the ability to manage reviews. What permissions do I need to grant to that role to make that happen?

Under review

The plugin uses this function...

current_user_can('manage_options')

https://developer.wordpress.org/reference/functions/current_user_can/

How would this get implemented in something like the member plugin? Is the custom capability current_user_can('manage_options')

What member plugin are you talking about?

The latest version of the plugin does allow the Editor role to manage the review list.

https://wordpress.org/plugins/members/


Here is documentation

https://github.com/justintadlock/members/blob/master/readme.md#registering-capabilities

I want to create a role that and specify it NOT to have access to manage the review list

+1

I'll have to look when I get back in town. Currently, only the Admin and Editor can see the Review List.

This is the code that is used to check....

// check user capabilities
if (!current_user_can('edit_pages')) {
return;
}