Hello! Is it possible to restrict editing of single posts within a CPT, page, or post, based on certain attributes and role? For example:
Within default WordPress posts, we’d like to allow role XYZ to always be able to edit posts with tag ABC. So if a new post is added with tag ABC; all users with role XYZ can edit. However, they would not be able to edit other posts that are not tagged ABC.
Alternately, the restriction could be by some other attribute (custom field value, or even post title).
Currently the only way I can think to solve this is to manually add the post ID using the Posts Edit Access feature but that will be a bit clunky for our permissions model and workflow.
Thanks!