How t set capabilities for Taxonomies

Support MB Custom Post Type How t set capabilities for Taxonomies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47174
    Alan BlairAlan Blair
    Participant

    Hello, I'm creating a site with a CPT (Products) and Taxonomy (Product Type).

    I'm using "Members" by memberpress to create a "Data Entry" role with permissions to edit the Product and 'Product Type' only.

    It works fine except for one thing. When they edit a "Product", they cannot set any of the Taxonomies, they are all greyed out.

    It turns out that the reason is the default permission required for adding Taxonomies to a Post is 'edit_post', even for a CPT.

    With MetaBox, there is no UI option to change the 'capabilities' for the taxonomy.

    With ACF, there is a permissions tab where I can change the 'capabilities'. I can change the 'Assign Terms Capability' to 'edit_products' and it works perfectly.

    I don't want to have to switch to ACF just for this one feature. Is there any way I can change this with MetaBox?

    #47178
    TomTom
    Participant

    +1 for this feature request.

    We shouldn't have to enable edit_posts capability so a user role can add categories to a different custom post type. It should work with the capability designated for the CPT.

    #47191
    PeterPeter
    Moderator

    Hello Alan and Tom,

    Thank you for your feedback. We already had a task in the backlog development to support an option to set the capability for the taxonomy. I will inform the development team to increase the priority of the task and include the feature in future updates.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.