Support

Home Forums Roles and Permissions Add-ons (EE3) Roles & Permissions and WooCommerce

Roles & Permissions and WooCommerce

Posted: January 18, 2014 at 12:13 am

Viewing 5 reply threads


Mark Maxwell

January 18, 2014 at 12:13 am

Hello,
When installing WooCommerce on the same domain as EE with Permissions Basic and Roles and Permissions Pro, the roles “Espresso Master Admin, Event Manager, and Regional Manager” no longer have the WP toolbar appear at the top, or access to the WP left sidebar. If I add “manage_woocommerce” as a capability (using Event Espresso – User Roles Manager) to the EE roles above, the toolbar and access to the sidebar reappear. Unfortunately, I do not want to grant woocommerce management capabilities to my EE roles “Espresso Master Admin, Event Manager, and Regional Manager”

Any suggestion how I can run WooCommerce next to EE and still have the toolbar appear for the EE Roles – without granting them woocommerce management capabilities?

Thanks for your help!

I am running
EE 3.1.36.2P
EE Permissions 1.5.5p
Roles and Permissions Pro 2.0.7
WooCommerce 2.0.20


Josh

  • Support Staff

January 20, 2014 at 9:46 am

Hi Mark,

I have WooCommerce set up on my test site that has Roles and Permissions activate and the ee roles are displaying the toolbar and the EE options on the left. Have you gone into Event Espresso>User Permissions and set the minimum page permissions for the custom ee roles?

https://eventespresso.com/wiki/roles-permissions-basic/#setuptheroles


Mark Maxwell

January 21, 2014 at 12:33 am

Hi Josh, Yes I have gone into Event Espresso>User Permissions and set the minimum page permissions for the custom ee roles. And the toolbar still does not show up. If I deactivate woo commerce, the toolbar immediately appears when I refresh. I do have a plugin “DMX page restriction” but I have given privileges to EE roles “Espresso Master Admin, Event Manager, and Regional Manager” in that plugin. If I deactivate DMX plugin the toolbar still does not appear.

I do have one question about the step you mention above: Once I set one of the permission to say “Master Admin”, can I go back and set the same permission to say “Event Manager”? Will they both then have permission for that role or does it only apply to the last role set. Because it is a drop down, rather than check box, it is a bit confusing if more than one role can share any particular permission.

Thanks for your time and support!
Mark


Josh

  • Support Staff

January 21, 2014 at 11:59 am

Hi Mark,

I’m not sure why the toolbar disappears when WooCommerce is activated, this does not happen when I try it on my test site. Are there WooCommerce extensions/settings that affect user capabilities?

The user Permissions in the R&P plugin are set up with Minimum Page Permissions. So for example if you set Event Manager to be the minimum role for one page, the Master Admin, Regional Manager, and admin will have access too.


Mark Maxwell

January 21, 2014 at 3:19 pm

Hi Josh, I disabled all extension/plugin except EE, EE Permissions, EE R&P and WooCommerce. The problem persisted.

I went through the capabilities one-by-one and through the process of elimination determined that the EE roles must be granted “edit_posts” capability for the WP toolbar and dashboard to appear with WooCommerce activated. In my case granting this capability to my event mange role, while it is not ideal, is workable (with some specific instruction to managers not to tamper with posts!).

Thanks for your assistance.

Mark


Dean

January 22, 2014 at 6:41 am

Hi Mark,

Thanks for the feedback, I will raise a ticket to look into that in more detail.

Viewing 5 reply threads

The support post ‘Roles & Permissions and WooCommerce’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso