Forum Replies Created

Viewing 15 posts - 1,681 through 1,695 (of 2,490 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    If all 3 users added to this subsite have an ‘administrator’ role, then any current user (except superadmin) with ‘administrator’ role will not see other users with the same role and see the empty users list. URE adds this protection to exclude a case when one single site administrator changes permissions for another.

    If you trust to all single site administrators it’s possible to switch off this protection using ‘ure_supress_administrators_protection’ filter. It returns ‘FALSE’ by default. If you will return ‘TRUE’ from this filter then protection will be switched off.

    
    add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10, 1);
    function ure_supress_administrators_protection ($supress) {
      return true;
    }
    

    Just insert code above to your active theme functions.php file.

    WordPress assigns roles to users on a per site basis. So if user has an ‘administrator’ role at one site it does not mean that he has the same role at all subsites automatically.
    When you open user’s capabilities at the “Network Admin Center->Users” you see role assigned to a user for the main site only (usually ID=1).
    If you wish that user has the same role for all network you can click “Update Network” button. The important condition – this role should exist for all subsites.
    In order to replicate all roles from the main site to all subsites you can click “Update Network” from “Network Admin->Users->User Role Editor”. Then all subsites will have the same roles and capabilities as the main site has.

    in reply to: "Confirm Email" Permissions #3285
    Vladimir
    Keymaster

    Hi David,

    What plugin do you use to confirm email-addresses? Send a download link.
    If it’s a paid product send its copy to support [at-sign] role-editor.com for the investigation.

    Vladimir
    Keymaster

    Yes, send me a link to your video. You can send it directly to support email.

    I do not resolve support questions via online sessions. If that’s possible I may look at your site directly with superadmin permissions.

    From what date (month, year) older version may help?

    in reply to: Woocommerce report #3277
    Vladimir
    Keymaster

    Hi,

    Do you restrict some admin menu items for this role with “admin menu access” add-on?

    in reply to: Job-Manager and User Role Editor #3276
    Vladimir
    Keymaster

    Hi,

    Job Manager uses WordPress built-in capabilities for its menu protection:

    Job Manager publish_posts
    Settings manage_options
    Add Job publish_posts
    Jobs publish_posts
    Applications read_private_pages
    Emails read_private_pages
    Interviews read_private_pages

    You can use “Admin menu access” add-on to block for the role of this user the access to the unneeded menu items, which will become available for it with capabilities above together, like “Settings”.

    Vladimir
    Keymaster

    Will something change if you deactivate URE temporally? If not, try to deactivate all plugins and then activate them back one by one to isolate a problem.

    Do you have “Other role access” add-on active? Did you set any restrictions for administrators with this add-on?

    in reply to: Documentation of Options and Settings #3269
    Vladimir
    Keymaster

    Hi Urs,

    Thanks for suggestion.
    Options description is there already. Click ‘Help’ link at the top right corner to URE’s Options page to see it.

    Vladimir
    Keymaster

    Use this workaround:

    
    add_filter('ure_restrict_edit_post_type', 'exclude_posts_from_edit_restrictions');
    
    function exclude_posts_from_edit_restrictions($post_type) {
        global $current_user;
        
        $restrict_it = true;
        if ($current_user->user_login=='your_user_login_here') {
            if ($post_type!=='attachment') {
                $restrict_it = false;
            }
        }
        
        return $restrict_it;
    }
    

    It applies ‘edit restrictions’ set for the user to the ‘attachment’ post type only.

    Vladimir
    Keymaster

    Yes. You can set the same restriction for a user at user profile too.

    Vladimir
    Keymaster

    There is no “except items own by some user” feature.

    If you turn ON “Own data only” checkbox for role at “Edit Posts” then user with such role will see just his own media library items only at Media Library and his own posts/pages only at Posts/Pages list too.

    in reply to: No User Role (Disable User) #3243
    Vladimir
    Keymaster

    You are right,
    the best available solution to this is simply create some empty ‘no-role’ role (without capabilities) and then use bulk action to change a role for selected user to ‘no-role’.

    in reply to: Enabling Media Library for Authors & Editors #3227
    Vladimir
    Keymaster

    I can not reproduce this difference between list and thumbnail views.

    I see a mistake in logic. This filter will never return true for user with single ‘editor’ role or user with single ‘author’ role, as 1st definitely can not ‘author’, but 2nd can not ‘editor’.

    Try to replace permissions check part with this one:

    
    if (!current_user_can('editor') &&  !current_user_can('author')) {
        return $show_all;
    }
    
    in reply to: Additional Options: Hide admin bar #3225
    Vladimir
    Keymaster

    I suppose that “Hide admin bar” checkbox is not a reason of this problem.
    Do you use WooCommerce? If yes, read this post.

    in reply to: Blank Admin page #3223
    Vladimir
    Keymaster

    I sent a version 4.32 directly to your email. If a problem with non-admin users login is really related to the URE Pro version 4.32.1 (that is downgrade to 4.32 will fix a problem) let me know.

    in reply to: Delete Role in Multisite #3218
    Vladimir
    Keymaster

    Hi Chris,

    If you have the same roles at all sites of your multisite network, it’s possible to delete a role from main site at “Network Admin -> Users -> User Role Editor” and then click “Network Update” in order to replicate this change to all other sites at once.

    In case you have the different roles at different sites, Yes – it’s individual process for every site. Open site, then delete role…

Viewing 15 posts - 1,681 through 1,695 (of 2,490 total)