Hello fellow WordPress developers!
I'm trying to wrap my head around the custom post type capabilities in wordpress... I have a custom type that I called faculty and I've set the capability_type for it to fac_profile. I also have a new role that I've created, also called faculty(I don't think that's a conflict but I can change it easily). Now, I want people of that faculty role to be able to only change faculty profiles they are assigned as an author to. If I assign them the permissions
'read_fac_profile' => true,
'edit_fac_profile' => true,
'edit_fac_profiles' => true,
'publish_fac_profiles' => true,
all is well and good but they can add new profiles. If I remove 'edit_fac_profiles', the whole default wordpress admin UI disappears. Is there an easy way to accomplish what I want or do I have to implement my own UI with custom permission checks to imitate the WordPress default one?