Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
Try this variant:
go to Network Admin -> Settings -> User Role Editor -> Default Roles
and select roles, which you which to grant to new user on sign up in addition to a primary default role.This selection is global for all sites of the multisite network. Take into account that other default roles should exist at the site, in order to be assigned to the new registered users.
Vladimir
KeymasterURE protects by default ‘administrator’ role and users with ‘administrator’ role from each other. You may switch off this protection using filter:
add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10); function ure_supress_administrators_protection() { return true; }Vladimir
KeymasterHi,
Thanks for the report about this issue. I will develop a fix ASAP.
Vladimir
KeymasterOpen ‘Post edit’ dialog for ‘editor’ role, select ‘Prohibit’, input admin user ID (digital) to ‘with author user ID (comma separated)’ field.
This will allow edit all posts/pages except created by prohibited user – admin in this case.
Vladimir
KeymasterUpdate for Gutenberg was published with version 4.51.1 (June, 2019) and should work.
Vladimir
KeymasterTo @arceoh:
To show some content for not logged in (guest) visitors only, you use this shortcode [user_role_editor roles=”none”].
Vladimir
KeymasterAll items of WPForms submenu are protected by the same ‘manage_options’ capability. You may try block other items except ‘Entries’ for a role via “Admin menu access” add-on.
Vladimir
KeymasterTry to add this line to your code:
remove_action( 'woocommerce_product_write_panel_tabs', array( $GLOBALS['Product_Addon_Admin'], 'tab' ) );“Product addons” hooks its code somewhere later when ‘woocommerce_product_data_tabs’ filter executed. Thus ‘addons’ tab is not available for manipulation at that moment.
Vladimir
KeymasterIf it’s a paid plugin “Product Add-ons” from WooCommerce, can you share its copy with me via Google drive or DropBox? I use such software for investigation purpose only and at my local development environment.
Vladimir
KeymasterOK. Can you tell me what plugin adds ‘Addons’ tab to the product attributes meta box? I need reproduce it myself to see what id it uses.
Vladimir
KeymasterWooCommerce product editor page does not have ‘Addons’ tab by default.
Try to look at the ‘Addons’ link HTML source. What class does it use? Try to use tab ID from the begin of class name, similar to the links above. I suppose it may be simple ‘addons’.Vladimir
KeymasterThere is no need to edit woocommerce source code. Use a [user_role_editor] shortcode is not a good idea. It works for the post/page content output only.
Try to use this solution a starting point.
Vladimir
KeymasterDid you turn ON 1st the “Privacy related” checkbox at “Use additional capabilities section” at “Settings->User Role Editor->Additional Modules” tab?
Vladimir
KeymasterHi,
Admin menu item “Settings->Privacy” and selected “Privacy” page editing are protected by ‘manage_privacy_options’ user capability.
‘manage_privacy_options’ capability is mapped by default to ‘manage_options’ capability.So after ‘edit_pages’, ‘edit_published_pages’, ‘edit_others_pages’ WordPress checks ‘manage_privacy_options’ (‘manage_options’ by default) capability for privacy page too:
/* * Setting the privacy policy page requires <code>manage_privacy_options</code>, * so editing it should require that too. */ if ( (int) get_option( 'wp_page_for_privacy_policy' ) === $post->ID ) { $caps = array_merge( $caps, map_meta_cap( 'manage_privacy_options', $user_id ) ); }URE Pro has a related option at the “Settings->User Role Editor->Additional Modules” tab – ” Privacy related (manage_privacy_options, export_others_personal_data, erase_others_personal_data)”. It’s located under “Use additional capabilities section” at the bottom of the form.
With this option activated URE maps ‘manage_privacy_options’, ‘export_others_personal_data’, ‘erase_others_personal_data’ capabilities to the ‘manage_privacy_options’, ‘export_others_personal_data’, ‘erase_others_personal_data’ correspondingly instead of default ‘manage_options’.But due to some glitch discovered during recent test user with ‘manage_privacy_options’ capability still does not have access to the ‘Settings->Privacy’ menu item. It needs investigation and fix.
If you does not plan to give access to this menu item for your editor, that’s it. Just select ‘Editor’ role at “Users->User Role Editor” and grant to it
‘manage_privacy_options’ capability. It should be enough in order to allow to editor role to edit your pre-selected privacy page.Vladimir
KeymasterHi,
I did not find any special changes for bbPress permissions/capabilities inside WOffice theme. It seems something is changing during BuddyPress/bbPress integration. Is it possible to get admin access to your site?
If Yes, I would make a copy of files and data to setup a copy at my development environment and look what is going with bbPress permissions using your exact site settings/configuration. If that’s applicable, send URL and login credentials to support [at-sign] role-editor.com -
AuthorPosts