Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Multiple roles with different expirationCustom PHP programming or another existing plugin are required. You can not make this using just URE.
Forum: Plugins
In reply to: [User Role Editor] AIOSEO Pro Plugin ConflictHi,
I’m ready to test and investigate this issue. If you can provide me AIOSEO Pro copy for testing, contact me via support [at-sign] role-editor.com
Forum: Plugins
In reply to: [User Role Editor] I dont see custom fieldHi,
Login as contributor, go to the “Posts->Add New” page and open “Screen Options” – link is located at the top right corner. Look if the “Custom Fields” checkbox is turned ON. It may be switched OFF by default.
Forum: Plugins
In reply to: [User Role Editor] Enable admin bar when manage_woocommerce is disabledHi,
Try to add ‘edit_posts’ capability to the role. More details – here.
Forum: Plugins
In reply to: [User Role Editor] What role controls user access to the Media library?By default, even contributor sees all media library items when clicks add media button. If you users sees own uploads only, some active plugin may by responsible for this.
If you need that user can access Media Library directly – ‘upload_files’ and at least ‘edit_posts’ capabilities are required.
Forum: Plugins
In reply to: [User Role Editor] Specific plugin usage autorization.Hi,
Yes, in general. But it depends from what capabilities are required by a plugin. For example, many plugins require ‘manage_options’ capability, which is too critical in order to grant it to the editors.
Forum: Plugins
In reply to: [User Role Editor] Change slug?Do you write about a capability from “Deprecated” group?
These capability are shown in grey color, but they are not disabled. You can turn them ON/OFF and update role.Forum: Plugins
In reply to: [User Role Editor] some role doesn’t removeCan you deactivate all plugins except URE and test again?
Similar, select WordPress default 2021 theme (with unchanged functions.php file) and test again. If role will be updated successfully, some plugin or theme may modify it automatically via program code. You can activate plugins back one by one with a new test to isolate a problem.Forum: Plugins
In reply to: [User Role Editor] Hide Dashboard labelIt’ not possible editing user role. If remove ‘read’ capability which protects ‘Dashboard’ menu item, user will lose access to the back-end at all.
You need another plugin which will allow to hide/block select admin menu item.
Forum: Plugins
In reply to: [User Role Editor] some role doesn’t removeURE does not allow to deselect capabilities at the user permissions edit page (Users->click “Capabilities” link under the selected user row), if those permissions granted to the user via role. Such permissions are shown as a read-only fields just for the information.
Forum: Plugins
In reply to: [User Role Editor] compatible with plugins?Hi,
I don’t have Custom User Registration Fields for WooCommerce plugin on hands to say exactly, but URE is fully compatible with WooCommerce itself. Taking this into account you should can edit/copy permissions granted by CURF plugin using URE too.
Forum: Plugins
In reply to: [User Role Editor] Restric Media library accessHi,
It’s not possible via grant/revoke user capabilities only. Additional custom programming, data request filtering is required. Yes, plugin similar to the mentioned one is needed.
Btw., it’s possible with ‘edit access restrictions’ add-on included into URE Pro, which offers “Own data only” option.
Hi Sandeep,
Some plugin may check directly if user has ‘administrator’ role. Changing granted permissions will not help in this case.
Try to deactivate all plugins except WooCommerce and test. If redirection will not be repeated, activate plugins back one by one with a new test to isolate a conflicting product. Then re-check its settings and/or contact support/developer.
Forum: Plugins
In reply to: [User Role Editor] How do I restrict user to specific content type?The most probable reason, ‘Events’ plugin define its custom post type with default ‘post’ capability and thus uses the same ‘edit_posts’ capability for menu items, like many others.
For more details read this article.
Forum: Plugins
In reply to: [User Role Editor] Change Error Message or RedirectHi,
This message is shown by wp-admin/includes/menu.php:
if ( ! user_can_access_admin_page() ) { /** * Fires when access to an admin page is denied. * * @since 2.5.0 */ do_action( 'admin_page_access_denied' ); wp_die( __( 'Sorry, you are not allowed to access this page.' ), 403 ); }So you can use ‘admin_page_access_denied’ to show a custom message and stop PHP execution via wp_die() or redirect.