Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterTry “Admin menu access” module:
https://www.role-editor.com/block-admin-menu-items15/04/2016 at 01:37 in reply to: Unable to Restrict Access within WP Admin on One Specific Site #2227Vladimir
KeymasterHi Kevin,
Re-check that test user really have role, for which you set “Admin Menu” restrictions. Try to re-assign that role to him (remove role, update profile, assign role back).
Check if you use some plugin with admin menu editing functionality, try to deactivate it, to understand if there is any conflicts between plugins.
Yes, show screenshots with ‘Admin menu’ window and what menu items are not blocked.Vladimir
KeymasterThis module helps with limited access to the plugins list for activation/deactivation:
Only selected plugins will be available to user for activation. All other plugins will not be visible at the “Plugins” list.
Vladimir
KeymasterHi James,
Good point to follow. Thanks. Let’s go in this direction.
Vladimir
KeymasterIt’s enough to deactivate, activate back for WooCommerce. It restores its roles and capabilities in case it loses them.
I need more exact information about other plugins: download links or copy for the paid products.
Vladimir
KeymasterHi,
I need more details. Show screenshots with notes what do you wish to achieve and what settings did your make for that.
Vladimir
KeymasterSend me an exact link for the Updraft plugin in order I should not guess what ‘updraft’ do you mean. Role capabilities list and ‘Admin Menu’ settings screenshot will be helpful.
Vladimir
KeymasterIf menu item is not visible at “Admin Menu” dialog it means that it is not available for the current role in the most of cases. ‘Yoast SEO’ uses ‘manage_options’ capability to protect its menu. Does role contain ‘manage_options’ capability?
‘Revolution Slider’ uses ‘manage_options’ also to protect its menu.
Vladimir
KeymasterHi James,
I see this mess every day hundreds of times during development and testing and fully agree with you. I open to the suggestions.
1st one – to add separate tab for every registered custom post type.
Can you offer something else?
Vladimir
KeymasterYes but this is a POS CASH REGISTER orders are placed by whoever is current logged in user.
Thanks. I will add an option via filter to restrict orders by order owner or by product owner (default).
Vladimir
KeymasterIt seems you need some other logic then one which was realized currently. And it’s something special.
In general WooCommerce order could be placed by any visitor, which automatically becomes a customer. Customers don’t have access to the admin back-end.
When we talk about ability of someone to see/edit his own orders only, I mean a user like a vendor (products owner), which sees/edits just orders placed for his products.Vladimir
KeymasterOrders are filtered by product owner ID = this user ID, that is 11, not by “Ship To” field value.
Vladimir
Keymaster‘With’ author user ID’ field is currently available if user has ‘edit_others_%’ capability.
Yes, I will add this feature definitely.
I understand a problem and version 4.25 (currently in beta state) makes a step forward. It’s capable to set edit restrictions for roles, where it will be much easier to set in case of large quant of users to restrict.Vladimir
KeymasterThis module may help:
It does not contain ‘view own items’ option yet. But if you input this user ID to the ‘Restrict by author’ field:

he will see his own products only.
Development version 4.25 (beta) (available at the same download page after login) includes a fix for the orders. So if you have a test copy you may test how it will work in your case.Vladimir
KeymasterHi Jawad,
I still fix some minor bugs in the dev. version from time to time. So it will be better to try it 1st at the test copy of your site.
-
AuthorPosts