Forum Replies Created

Viewing 15 posts - 1,231 through 1,245 (of 2,518 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    support [at-sign] role-editor.com

    Vladimir
    Keymaster

    You can try. Login with working account, clear the cache, wait 3-5 minutes, login again. It should stop working, if I understand the situation right.

    Can you provide me a copy of site database and files (without wp-content/uploads) via DropBox or similar? Use email address support [at-sign] role-editor.com
    I will monitor memory usage and look if we can optimize the restrictions criteria.

    Vladimir
    Keymaster

    Hi,

    URE does not apply any restrictions to the users with ‘administrator’ role. It may use older cache for such user in this cache. Data are cached by user ID without saving user role, taking into account that changing user role to administrator and back is not a situation from a real life.

    Vladimir
    Keymaster

    Give me more information. What settings did you make for restricted user? What do you try as restricted user at the wp-admin? Show screenshots.

    Vladimir
    Keymaster

    Hi,

    Right, it’s possible with content edit restrictions add-on:

    Allow user to edit selected posts and pages only

    Vladimir
    Keymaster

    Hi,

    It depends from what criteria do you use when restricts admins with limited privileges.
    For example, if you block access to some posts, you can use block model and block 1000 posts by some criteria, but allow 5. Apparently much more memory is required to get those 1000 posts ID list than just 5 posts ID.
    URE caches results of db queries using WP transients, thus for some time memory consuming may be postponed.

    The most simple workaround: increase available memory for logged in users with some role. Use

    
    ini_set('memory_limit', '512M');
    

    and wp_login action.

    Vladimir
    Keymaster

    Hi Martin,

    Menu item “Settings->Admin Columns” is protected by “manage_admin_columns” capability. Check if it was granted to the administrator role. If it does not exist for some reason, re-create it manually.

    in reply to: generated link to restricted access page #4714
    Vladimir
    Keymaster

    Hi,

    You can remove URE’s content view restriction from such post and look it a WordPress built-in post visibility features (private or password protected posts) will fit for your need:
    Post Visibility

    in reply to: Default role settings for new sites #4710
    Vladimir
    Keymaster

    Hi Urs,

    This feature is worth to be realized. I will do it with one of the next updates.

    in reply to: Default role settings for new sites #4708
    Vladimir
    Keymaster

    Hi Urs,

    Currently URE copies to a new created subsite only the roles from the main site. Settings made for the main site via add-ons are not copied to new sub-site automatically.

    It seems as a missed feature. Thanks for pointing me on this.

    in reply to: generated link to restricted access page #4706
    Vladimir
    Keymaster

    Hi,

    Such feature is not supported.

    in reply to: Access to Redirection Plugin #4703
    Vladimir
    Keymaster

    Hi,

    Thanks for the clarification. We looked at the different versions. Download link at https://wordpress.org/plugins/redirection/
    leads to the version 3.2, but “Download Plugin” button at the https://redirection.me/ leads to the version 3.2.1 (development version).
    v. 3.2. uses for admin menu item “Tools->Redirection” the ‘administrator’ role, but v. 3.2.1 (which I tested) uses ‘manage_options’ already.
    You can update to version 3.2.1 or use this filter to change ‘administrator’ to ‘manage_options’ or your own custom capability:

    
    add_filter('redirection_role', 'replace_redirection_cap', 10, 1);
    function replace_redirection_cap($cap) {
    
        $cap = 'manage_options';
        
        return $cap;
    }
    

    I recommend the 2nd variant, as version 3.2.1 still use ‘administrator’ in some places, for the REST API calls, for example.

    in reply to: Access to Redirection Plugin #4701
    Vladimir
    Keymaster

    Hi,

    >>Are you sure it is the ‘manage_options’ checkbox?
    Yes, I’m sure. I test it before send the answer to you. Look at the screenshots.
    access to redirection plugin
    Look at readme.txt of Redirection plugin, line 135:
    “Permissions changed from ‘administrator’ role to ‘manage_options’ capability”.
    Look at the redirection-admin.php, line #342:

    
    $hook = add_management_page( 'Redirection', 'Redirection', apply_filters( 'redirection_role', 'manage_options' ), basename( REDIRECTION_FILE ), array( &$this, 'admin_screen' ) );
    

    >> Redirection shows under Administrator so a plugin is not what is blocking it from displaying.
    Some plugin, User Role Editor for example does not block ‘administrator’ by design, but block any other role according to the settings made.

    Temporal deactivating of all plugins to check if not some plugin causes a problem is the 1st measure when something goes wrong with WordPress. You can unintentionally block this menu for a role, with URE “Admin menu” access add-on for example. That’s why I offer to deactivate all plugins.

    If it’s not applicable to your site, make its full backup (with Updraft Plus plugin or similar) and restore as a stage/test copy, proceed your tests with it.

    Vladimir
    Keymaster

    Hi Martin,

    Check if ALL existing capabilities are granted to the ‘administrator’ role.

    I need access to a copy of Admin Columns Pro for testing in order to help you. Share it with support [at-sign] role-editor.com (via DropBox or similar), if it’s applicable for you.

    in reply to: Access to Redirection Plugin #4696
    Vladimir
    Keymaster

    Hi,

    This plugin menu item “Tools->Redirection” is protected by ‘manage_options’ capability. I added ‘manage_options’ capability to the custom role and get access to the this menu item.
    Access to redirection for custom role

    Try to deactivate all other plugins. May be some plugins hides this menu item for your role.

Viewing 15 posts - 1,231 through 1,245 (of 2,518 total)