• Resolved frischi

    (@frischi)


    Hello,

    I installed woocommerce and the ultimate members plugin to define roles and their capabilities.
    I figured out, that the only chance to make a user able to create a product is to give him the “manage_woocommerce” capability.

    The problem is now, that the user is able to edit the woocommerce settings, too.

    Is it possible to create a user, that only can create a product, without the possibility to go to the woocommerce settings?

Viewing 6 replies - 1 through 6 (of 6 total)
  • corsonr

    (@corsonr)

    Automattic Happiness Engineer

    Thread Starter frischi

    (@frischi)

    Thanks for your reply.
    The problem is, that I want a user give the capability to create products, But NOT the capabiltiy to change woocommerce settings.

    In the docs linked by you the following is written:

    “manage_woocommerce: Gives shop managers the option to manage all settings within WooCommerce, and create/edit products.”

    So is there no other way to omit the ability to change woocommerce settings, than to directly change the woocommerce code?

    Or is it possible with a certain combination of certain capabilities?

    Or is there a hook where I could intervene?

    corsonr

    (@corsonr)

    Automattic Happiness Engineer

    According to the docs corresponding to the second link I sent, this can be done:

    https://publishpress.com/knowledge-base/woocommerce-permissons/

    If it’s not enough, then that will most likely require custom coding.

    Thread Starter frischi

    (@frischi)

    Ok, thanks.
    The problem with the plugin is, that you have to enable “edit_post” capability to give the user the ability to create products. So the user has also the rights to change other posts as product.

    Plugin Support con

    (@conschneider)

    Engineer

    Hi there,

    > So the user has also the rights to change other posts as product.

    You can try and use https://www.ads-software.com/plugins/admin-menu-editor/ to block access to certain actions / pages by extending the required roles.
    The user cannot reach of viewing a certain area takes more capabilities.

    corsonr

    (@corsonr)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘capabilties to be able to create products without woocommerce settings access’ is closed to new replies.