Forum Replies Created

Viewing 15 posts - 781 through 795 (of 2,522 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    Hi,

    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.

    in reply to: Admin is unable to add other admins #5897
    Vladimir
    Keymaster

    URE 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;
    }
    
    in reply to: Incompatibility Guttenberg Editor and Role editor #5896
    Vladimir
    Keymaster

    Hi,

    Thanks for the report about this issue. I will develop a fix ASAP.

    in reply to: Edit post/pages if same role #5895
    Vladimir
    Keymaster

    Open ‘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.

    in reply to: Excluded categories. #5894
    Vladimir
    Keymaster

    Update for Gutenberg was published with version 4.51.1 (June, 2019) and should work.

    in reply to: user role "none"? #5893
    Vladimir
    Keymaster

    To @arceoh:

    To show some content for not logged in (guest) visitors only, you use this shortcode [user_role_editor roles=”none”].

    Shortcode for content view access restriction

    in reply to: WP Forms #5883
    Vladimir
    Keymaster

    All 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.

    in reply to: Role-based meta panel restrict. #5882
    Vladimir
    Keymaster

    Try 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.

    in reply to: Role-based meta panel restrict. #5878
    Vladimir
    Keymaster

    If 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.

    in reply to: Role-based meta panel restrict. #5877
    Vladimir
    Keymaster

    OK. 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.

    in reply to: Role-based meta panel restrict. #5875
    Vladimir
    Keymaster

    WooCommerce 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’.

    in reply to: Role-based meta panel restrict. #5872
    Vladimir
    Keymaster

    There 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.

    in reply to: allow role to edit privacy policy page #5867
    Vladimir
    Keymaster

    Did you turn ON 1st the “Privacy related” checkbox at “Use additional capabilities section” at “Settings->User Role Editor->Additional Modules” tab?

    in reply to: allow role to edit privacy policy page #5865
    Vladimir
    Keymaster

    Hi,

    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.

    in reply to: Woffice access to forum editing #5862
    Vladimir
    Keymaster

    Hi,

    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

Viewing 15 posts - 781 through 795 (of 2,522 total)