I’m looking at creating a site with the following concept:
At PR agencies, reps are responsible for creating and mailing out to journalists comments made by their client’s executives in response to news events. I’d like to create a website on which they post this comment in the clients’ names, building in to a repository / feed of comments for each company executive.
How could I flex WordPress to implement the right data / user model? Here are some thoughts on requirements...
Users & relations:
– Users called reps (new user role type?) belong to groups called agencies (taxonomy terms?).
– Users called execs (new user role type?) belong to groups called companies (taxonomy terms?).
– Companies must relate up to an agency, so that an agency may have a basket of companies for which it is responsible (relate term to term?).
– Only an agency rep can post anything – but not in their own name…
– Reps should be able to post content on execs' behalf...
– But only for execs whose company relates to the rep’s agency. (How would we manage this important logic?)
So, i) there’s a sort of “user groups” element, which may be possible by relating a user to a term; ii) there’s a requirement that groups of different types must relate and iii) there are permission considerations.
Here are some options under consideration:
Using Advanced Custom Fields to relate an agency term to a company term and to relate a user to a term
I know the latter is possible with the LH User Taxonomies plugin, too.
For "on behalf of" posting, no idea.
Ultimately, this would also all need to be done in the front-end. Maybe I won't get ahead of myself here by discussing that - or maybe it's important; maybe it means the front-end is where some of the permissions should be exercised?