Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] User Role on only one CPTHi,
This article has the answer.
Forum: Plugins
In reply to: [User Role Editor] How I can take away capabilities from administrator role?You can not revoke capabilities from ‘administrator’ role using URE. It’s the only role for the superadmin user of WordPress (single site). URE apparently prohibits ‘administrator’ role modification to exclude potential problem with lose access to WordPress.
Forum: Plugins
In reply to: [User Role Editor] how to hide “Settings” in WooCommerceRevoke ‘manage_woocommerce’ user capability from the ‘Shop Manager’ (shop_manager) role.
Forum: Plugins
In reply to: [User Role Editor] Settings not saved: maybe issue with Domain Mapping?No problem. Thanks for the confirmation.
Forum: Plugins
In reply to: [User Role Editor] Subscribers have capabilities brute-force removedDid you send message to a wrong forum?
User Role Editor has version 4.59 and it is 4.+ about 8 years already. More, it never revoked automatically any capability from any role.
Forum: Plugins
In reply to: [User Role Editor] WooCommerce shopmanager roleSelect “shop_manager” role at URE and revoke from it “edit_theme_options” capability. You can find it under the “Themes” group.
add_chiled_pages() uses ‘page’ condition, as only ‘page’ post type has child pages at WordPress by default.
Clariry, do you use such hierarchy structure for other custom post types?
Forum: Plugins
In reply to: [User Role Editor] New Users not showing in Page User ListLook at URE if deprecated levels were not accidentally revoked from your editor role. Role should have at least level_0, level_1 and level_2 to be shown at the authors list. You have to re-grant the role to a user after its modification in order to refresh user level at user meta data.
More details is available here.
Forum: Plugins
In reply to: [User Role Editor] Editor access to a plugin menuGo to the “WP Mail Catcher->Settings” menu and select from the “User capability needed to see logs” dropdown menu the ‘edit_pages’ capability for example. This will allow users with ‘editor’ role to view mail catcher’s logs.
Forum: Plugins
In reply to: [User Role Editor] SOME users with role don’t have the assigned permissionsWhat if you don’t simply revoke the role from a user, but replace it, grant him another role, save update. Then try to grant your special role back?
Forum: Plugins
In reply to: [User Role Editor] Super Admin PrivilgesURE by default hides all users with ‘administrator’ role from users with other roles. You can use this feature, if grant to your client a copy of ‘administrator’ role with a full list of capabilities, but with other id/name.
Forum: Reviews
In reply to: [User Role Editor] Great Product supported with the BEST customer supportThank you!
Forum: Plugins
In reply to: [User Role Editor] Users html is stripped outWordPress multisite blocks unfiltered_html capability by default as potentially vulnerable.
So you have to use custom code to change this, like below:add_filter('map_meta_cap', 'allow_unfiltered_html', 10, 2); function allow_unfiltered_html( $caps, $cap='' ) { if ( $cap==='unfiltered_html' || $cap==='edit_css' ) { $current_user = wp_get_current_user(); if ( isset( $current_user->allcaps['unfiltered_html'] ) && $current_user->allcaps['unfiltered_html'] && $caps[0]=='do_not_allow') { $caps[0] = 'unfiltered_html'; return $caps; } } return $caps; } // end of allow_unfiltered_html()Add code to the active theme functions.php or install as a Must Use plugin.
Forum: Plugins
In reply to: [User Role Editor] After changing of settings URE started acting upThanks for letting know that issue was resolved.
Forum: Plugins
In reply to: [User Role Editor] User CapabilitiesIt seems that invoices custom post type uses default capability type, possibly ‘post’, same as the other custom post types at your site. I suppose it’s the ‘edit_posts’, etc. user capabilities. Read this article for more details about management user capabilities for custom post types.