Restrict access only of custom post type with standard capabilities to edit_post
Restrict access only of custom post type with standard capabilities to edit_post
Restrict access only of custom post type with standard capabilities to edit_post
How to query users to count all with a custom capability and limit it to a set of roles?
Vistors usually always have the rights to access a post. Only exceptions that I know are drafts, password protected posts or post_types that are not public accessable. You could use get_post_status() and post_password_required()
Disabled delete_others_posts if post is from admin
Edit and delete permissions pages and posts
You should be able to check the conditions and add capabilities like this: if(wp_get_current_user(‘gallerist’) AND ‘cats’ == get_post_type() AND has_term( ‘status’, ‘age’ )) { $gallerist_role = get_role( ‘gallerist’ ); // Adding a new capability to role $gallerist_role->add_cap( ‘custom_capability’ ); } I am sorry I can not test it but I think it is a start
Why can my subscribers create new posts for review?
Restrict Custom Post Type per role in Dashboard
How to fix the Post Preview Button (CPT & map_meta_cap)
Adding plugin editing capability for Author