I’ve a CPT for Companies, which have a relationship to a different CPT, area. Customers can edit their very own companies, however I even have regional managers that I want to give the power to edit companies of their area.
Proper now customers can solely edit the enterprise listings they’re the creator of. I’ve an ACF subject for customers, areas managed, that comprises a number of areas this consumer manages. I might like them to have the ability to see all of the listings in that area and be capable to edit them. At the moment they’ll see all of the listings within the system, however view solely.
I’ve a type on the entrance finish that permits some fundamental modifying, and a perform that correctly checks if a consumer can edit a given itemizing, however I am unsure find out how to go about incorporating this within the WP admin listings.