I'm trying to prevent anyone in the Editor role from editing posts made by an Administrator. The Editor's can edit each others posts, just not an Administrator's. Is this possible? I've tried the Adminimize & Capability Manager Enhanced plugins, but no luck with those. Appreciate any help. Thank you!
I'm trying to prevent anyone in the Editor role from editing posts made by an Administrator. The Editor's can edit each others posts, just not an Administrator's. Is this possible? I've tried the Adminimize & Capability Manager Enhanced plugins, but no luck with those. Appreciate any help. Thank you!
You can possibly try the following:
Install ACF plugin and can create a front end page to edit any posts. (I have done this)
Next, write a code to make sure that the post is not authored by the administrator. (I didnt try this out yet)
It looks like I found exactly what I needed with the Post Lockdown plugin. It allows you to select posts that can only be edited by an Admin. Thank you to those that took the time out to respond & offer suggestioons.
edit_others_posts
or he does not. You could add a conditional check to determine the role of the author before someone accesses the post edit screen for whichever post type(s) you want to affect, but you'd then also have to handle both Gutenberg and the Classic editor. It would probably be easiest if you create one CPT for Editors, and a separate one for Administrators, and then Editors will haveedit_others_{cpt}s
but not edit capability on the Administrators' CPT. – WebElaine Commented Dec 10, 2018 at 19:41