Support » Plugin: Capability Manager Enhanced » Define a Role to be able to Manage Order statuses

  • Resolved NaturaMia

    (@naturamia)


    Hi

    How can I define a Role to be able to Manage Order statuses (like a shop assistant)?

    1. I Added capabilities: ‘edit_dashboard’ and ‘read’
    2. I selected all Additional Capabilities which contains word ‘order’
    3. I also added ‘woocommerce_order_itemmeta’ and ‘woocommerce_order_items’ and selected them
    4. level is 9

    But user still cannot see the admin dashboard
    What else should I do?

    Regards:
    Bence

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • When adding ‘manage_woocommerce’ capability, everythibng seems to be fine, except that now users (using the specific role) seems to be able to modify ALL the WooCommerce settings.

    How can I restrict the role?

    I would just need to enable ONLY post_type=shop_order
    OR: restrict the role from accessing the following pages:
    eh_pricing_discount
    wc-reports
    wc-settings
    wc-status
    wc-addons

    Is it possible?

    Plugin Author Kevin Behrens

    (@kevinb)

    You’ll need to check with WooCommerce support for clarification on their implementation of the order capabilities.

    NaturaMia

    (@naturamia)

    It works with the following roles:

    • edit_shop_order
    • edit_shop_orders
    • edit_published_shop_orders
    • edit_private_shop_orders
    • edit_others_shop_orders
    • read_shop_order
    • shop_order
    • view_admin_dashboard
    • woocommerce_order_itemmeta
    • woocommerce_order_items
    • woocommerce_view_order

    Some of them need to be created using the ‘Add Capability’ section on the right sidebar

    • This reply was modified 4 months ago by  NaturaMia.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.