Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
@TrinWEb,
Can you give more details with problem under PHP 8.0 – error messages at the server log file after switching WordPress to debug mode, browser JavaScript Developer Tools Consol and/or Network panel error messages?VladimirKeymasterHi Daniel,
URE “Admin menu blocking” works with the static admin menu created by plugins in a classic static way. URE saves a copy of the full admin menu available for the ‘administrator’ and then allows to select what to hide from the list of those menu items.
Learndash builds some submenu dynamically in relation of what page/post is selected currently. “Transactions” menu item is between them. It’s protected by ‘manage_options’ user capability:
define( 'LEARNDASH_ADMIN_CAPABILITY_CHECK', 'manage_options' );
Clarify with ‘Design->Customizer”, which you can not hide. Is this menu item created by your custom theme? In this case I need access to the theme source code .zip in order to try repoduce the issue.
VladimirKeymasterHi,
Code is still available at the mentioned article. It does not remove any roles and/or admin menu items.
Check if this option checkbox is not turned ON accidentally for the ‘administrator’ role.
Refresh your site caching support (plugins and system routine, like CDN, etc.).VladimirKeymasterHi Harald,
It depends from what kind of restriction do you need to apply:
1) If you wish restrict by MLA doc-category editing of media library items, you can use “Edit restrictions” add-on. Just input categories list ID into the user profile or user role.
2) There is the “Content view restriction” add-on, which allows to manage who can view post/page content at front-end, including a category level. But you need to take into account here, that this add-on hides the post content only – the description for media library item. So if image is attached to the post you have to restrict the view of the whole post itself or the part of post with the image inside using shortcode. URE does not restrict view of media library item (image, PDF file, etc.) via direct URL. It works with the post content only.VladimirKeymasterHi,
Thanks for letting me know.
Really, URE shows the admin menu from the main site under the “Network Admin”. The most probable reason – you would go to the main site 1st, in order URE can remember the admin menu from the main site and then show it to your under the “Network Admin”.VladimirKeymasterHi,
User Role Editor has “administrator protection” feature turned ON by default. It hides ‘administrator’ role and other users with ‘administrator’ role from all users who can edit other users, but has ID not equal 1.
It’s possible to switch off this feature via filter. Add this code to your active theme functions.php file or setup it as a Must Use plugin://—
// Switch off URE’s protection of users with ‘administrator’ role from each other and other users with ‘edit_users’ capability
add_filter( ‘ure_supress_administrators_protection’, ‘switch_off_ure_admin_protection’, 10, 1);
function switch_off_ure_admin_protection( $switch_off ) {
$switch_off = true;
return $switch_off;
}
//—VladimirKeymasterSubmenu “WooCommerce->PickingPal’ is protected with ‘edit_published_pages’ user capability.
VladimirKeymasterHi,
Role with access to the orders only is described here.
I need access to the PickinPal plugin in oder to help you. Share its .zip via Google Drive or DropBox, if that’s applicable (support [at-sign] role-editor.com).
VladimirKeymasterThere is no “Roles compare’ tool in URE.
You can export all roles to the CSV file though. Activate “Activate export user roles to CSV” and click “Export” button at the “Settings->Tools” tab.16/12/2021 at 02:55 in reply to: Restrict access to woocommerce product category not working, how to debug? #7784VladimirKeymasterIn order to exclude product from listings, you have to select action “404 HTTP error”. Content view restrictions protects directly only post/page content or full description for the products. It does not prohibit to theme or plugin to show any other product attributes, like price, image, etc. until you select the “404” or “redirect” action.
Take into account that you can set view restrictions directly for the product category.
VladimirKeymasterHi,
‘Easy WP SMTP’ plugin checks ‘manage_options’ capability in 2 places:
1) when adds own settings page under the “Settings” menu;
2) when add a couple of internal hooks for the wp_admin.It does not send email messages itself. It just allows messages sent by WordPress itself to be sent via external mail server (SMTP).
You need to check why in some cases email is not built by WordPress itself or responsible plugin.
05/12/2021 at 03:11 in reply to: Not Showing “Users” in admin menu but user does have the permissions #7779VladimirKeymasterRe-check that user can at least the ‘list_users’ capability.
If you have “Admin menu access” add-on active, check if “Users” menu is not blocked for role granted to this user.
Check if some other plugin does not block “Users” menu for this user or his role.VladimirKeymasterHi,
Elementor protects its menu items including the “Settings” one with ‘manage_options’ user capability.
Take into account that after granting ‘manage_options’ to the ‘editor’ role it will get access to a lot of other critical menu items, like general WordPress “Settings”. You may use “Admin menu access” add-on to block them for editor role.VladimirKeymasterClarify, what plugin settings do you try to access?
What user account do you use for that, admin? If not, tell about user permissions and restrictions applied to that user.VladimirKeymasterThanks for the help.
-
AuthorPosts