Change WordPress user roles and capabilities › Forums › Give user access to plugin – how to › WordPress Team Manager › Reply To: WordPress Team Manager
10/06/2016 at 15:20 #2404
I mean if you’re familiar with the built-in capabilities for the ‘posts’: edit_posts, publish_posts, edit_others_posts, delete_posts, etc. you may simply build the capability name for the ‘team_managers’ custom post type (CPT), take ‘delete_posts’ and replace ‘posts’ with ‘team_managers’ and receive ‘delete_team_managers’ as the permission for the deletion of Members added by the user himself.
You may check this way if your role contains all needed capabilities for the ‘team_managers’ CPT or it does not.