• Hello,

    My name is David, and I am currently building a WordPress site that uses User Role Editor, as well as a plug-in for WooCommerce called YITH Multivendor. I was running into some issues with permissions on my site, and thought that the problem may stem from User Role Editor.

    With YITH Multivendor, by default, users on my site should only be able to see their own commissions (payments they’re receiving from WooCommerce products) within their WordPress backend. I’ve confirmed with YITH that this should happen without any set up required. However, on my site, users can see every commission on the site, including commissions for other users – they essentially have the same view as a site admin. No matter how many times I reinstall the plug-in, I can’t restrict them to only seeing their own commissions.

    I was trying to think of what could be causing this issue, and my best guess is that there is some conflict with the plug-in and User Role Editor. There is a permissions box within Role Editor called “edit products”, and when I switch it off, all commissions are hidden from users, but when I switch it on, every commission is shown. Since I basically want permissions for my users to be in between these two states (only their own commissions are shown), I think that this permission’s existence within User Role Editor is overriding the default permission of YITH Multivendor and causing the conflict.

    So my question is, is it possible that User Role Editor could be the source of this problem? And if yes, then what would you recommend to fix it? I appreciate the time, and look forward to hearing back from you.

    Thanks,

    David

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hello David,

    Take into account that ‘edit_products’ capability belongs to the WooCommerce plugin. User Role Editor (URE) is just the tool, which allows to see existing user capabilities and grant/revoke them to/from the user roles. URE does not grant itself ‘edit_products’ capability to any role. URE does not manage itself what is shown to users in WooCommerce, but what is hidden. WooCommerce and WordPress are fully responsible for this according to capabilities/permissions granted to the user roles.

Viewing 1 replies (of 1 total)
  • The topic ‘Could User Role Editor be conflicting with another plug-in on my site?’ is closed to new replies.