[wp-hackers] Custom Post Type + Capabilities & Roles

Andrew Nacin wp at andrewnacin.com
Fri Jun 25 21:47:07 UTC 2010


On Fri, Jun 25, 2010 at 5:36 PM, Jake Goldman <
wphackers at jakemgold.myfastmail.com> wrote:

> I'm trying to create an equivalent to post *contributors*, not authors
> (which I can do).
>
> Are you able to create a new role that can submit "questions" for review
> via the admin, and can edit his / her own questions before publication, but
> can't edit others' questions or published questions?


Deny them the publish_questions capability. In fact, the only capability
they should have (to be even with contributors) is the edit_questions
capability.


More information about the wp-hackers mailing list