• Resolved Jay Collier

    (@jcollier)


    I wish to allow a particular user role to edit their own posts, but deny their ability to create new posts.

    Those two capabilities appear to be combined in Edit Posts. I tried creating a custom capability, create_posts, and clicked Deny, but that didn’t remove the New + menu item.

    I have been reading other support tickets and WordPress documentation, with no luck.

    Do you have any pointers?

Viewing 5 replies - 1 through 5 (of 5 total)
  • WordPress doesn’t allow this out of the box. I do have a Members add-on plugin that handles it though: https://themehybrid.com/plugins/members-core-create-caps

    Thread Starter Jay Collier

    (@jcollier)

    Thank you!

    Will the Members add-on plugin work with a custom post type that has its own identifier for capability_type? I’d like to my specific role to only edit content (not a page/post) but NOT add new. Thanks in advance.

    @clcreative – The add-on mentioned above is strictly for the core “post” and “page” post types.

    For all other CPTs, it’s completely up to the developer who creates the CPT. If this is something you’re building yourself, you merely need to set the create_posts cap to something custom.

    If it’s from a third-party plugin, I’d be happy to build a custom plugin for you that will change how that works at minimal cost (it’s not much work to do). Feel free to shoot me an email if this is the case.

    Or, another option if it’s a third-party plugin, just ask the plugin developer to update it to split the edit and create caps.

    Awesome, thanks Justin!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow edit own posts, but deny create posts’ is closed to new replies.