Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] No all features of plugin showingYes, your role definitely does not can mentioned URE admin capability.
Hi,
Yes, it’s possible. For example “Add Role” with
ID: shop_man2,
name: “Shop Man 2”,
make copy of: shop_managerGrant capability ‘create_users’ from the Users group and it will work as you described.
Potential problem this role will not can any new capability which can appear at WC built-in shop_manager_role after one of the future updates. So you will need to check from time to time is there a differencies between 2 roles.
If you will wish to overcome this problem, grant to user new added role which can: read, create_users capabilities, and grant shop_manager role to the same user as a secondary one.
shop_manager role is limited by default by access to the ‘customer’ role only. It’s possible to extend this following this article:
https://woocommerce.wordpress.com/2018/10/11/woocommerce-3-4-6-security-fix-release-notes/
Forum: Plugins
In reply to: [User Role Editor] No all features of plugin showingHi,
‘Capabilities’ link under the user row (action) is available to a user, who can ‘ure_manage_options’ or ‘manage_network_plugins’ for multisite (in case simple admin option is not enabled for WP multisite.
‘Users->User Role Editor’ admin menu item is protected by ‘ure_edit_roles’ user capability.
‘User Role Editor’ plugin is shown at the “Plugins” page only for user, who can ‘ure_manage_options’.
Forum: Plugins
In reply to: [User Role Editor] Muti RoleWordPress itself includes support for multiple roles. URE just use WP built-in API and offers the modified UI for this purpose. URE will not help with any script/command line user permissions update. It does not offer own REST API or similar.
Hi,
This article https://www.role-editor.com/documentation/manage-access-to-custom-post-types contains the answer.
- This reply was modified 2 years, 11 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Previous plugin vulnerabilityHi,
Sure, once you deactivate the URE plugin, its code can not be executed.
Forum: Plugins
In reply to: [User Role Editor] own data only not onlyPlease use this forum for questions related to the free version of URE only.
Use dedicated forum at https://www.role-editor.com/forums or support email address for questions about URE Pro.
- This reply was modified 2 years, 11 months ago by Vladimir Garagulya.
- This reply was modified 2 years, 11 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Auto-Apply New Capabilities?Clarify, what do you mean under “link two roles to each other”? What should happen after you make such link, for example?
Forum: Plugins
In reply to: [User Role Editor] Restricting Shop Manager RoleIf you revoke from user role ‘export’ and ‘import’ capabilities, user will not see ‘Export’ and ‘Import’ buttons.
‘delete_products’, ‘delete_others_products’ allow to remove product
Take into account that WooCommerce may reinitialize its own shop_manager role after the next activation. So it has sense to use a modified copy of this role.
Unfortunately, the same ‘edit_products’ capability is checked as to allow to add new product and allow to edit existing products. Btw., Pro version has the option to use ‘create_’ capability instead ‘edit_’ to protect “Add new” function for any post type, including WooCommerce products.
This functionality is available at Pro version only as an edit restrictions add-on.
Forum: Plugins
In reply to: [User Role Editor] Add support for pluginLook at this article.
Forum: Plugins
In reply to: [User Role Editor] Add support for pluginYou may look at the plugins which allow to restrict/modify WordPress admin menu. For example User Role Editor Pro “Admin menu blocking” add-on, or “Admin menu editor” plugin from other author.
Forum: Plugins
In reply to: [User Role Editor] Auto-Apply New Capabilities?You are right. New role will not get newly added capabilities. It stays the same until you change it. URE adds all existing capabilities automatically only to WordPress built-in ‘administrator’ role.
Forum: Plugins
In reply to: [User Role Editor] Add support for plugin‘activate_plugins’ capability created by WordPress on installation. URE lists it at the ‘All->Core->Plugins’ group.
Forum: Plugins
In reply to: [User Role Editor] New role with WC coupon permissions – no wp-admin access.WooCommerce redirects to front-end any user who can_not manage_woocommerce or edit_posts. There is a special WC capability (it does not exist by default) to change this – view_admin_dashboard. Add it to your role. Read this article for more details.