Forum Replies Created

Viewing 15 posts - 1,171 through 1,185 (of 2,553 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    1) URE hides ‘administrator’ role from ‘Role’ and ‘Other Roles’ drop-down lists by default.
    2) URE exclude users with ‘administrator’ role from the users list by default.

    It makes this for users with ‘edit_users’ capability, which do not have ‘administrator’ role.
    Thus there is no sense to hide/block ‘administrator’ role via ‘Other roles access’ add-on. ‘administrator’ checkbox is disabled for this reason.

    Vladimir
    Keymaster

    I confirm such behavior. It’s by design. URE does not apply any restrictions to a user with ‘administrator’ role for the single site WordPress installation as such user is a superadmin there.

    I agree that checkboxes available for the selection at the “Other Roles” dialog window for the ‘administrator’ role may confuse a user. I will fix this with the next update.
    You can change this logic under WordPress multisite, as it’s not enough to have ‘administrator’ role in order to be superadmin there. It’s possible via custom filter ure_not_block_other_roles_for_local_admin.

    in reply to: Restrict Access to Custom Taxonomy Category #4965
    Vladimir
    Keymaster

    Pay attention, that 1st, user should have edit access to the event, in order to see it. If event was created by other user, this user should be able ‘edit_others_events’ or similar capability. In other case such event will be hidden from user, even if you allow valid category ID for him.

    Vladimir
    Keymaster

    ‘manage_network_options’ is very critical capability in order to grant it to the single site administrators.
    I see at the BuddyPress source code comments that “BuddyPress can now be activated
    on individual sites”. BuddyPress activated for the single site (not network activated) will use single site capabilities and will be fully available to the single site admin. I suppose that this way of BuddyPress usage will be more suitable for you.

    in reply to: Wp Bakery Page Builder #4963
    Vladimir
    Keymaster

    This code snippet will exclude “WP Bakery Page Builder” welcome page menu item from the left side admin menu for the current user with ‘author’ role:

    
    add_action('admin_menu', 'hide_vc_welcome', 100);
    
    function hide_vc_welcome() {
    
        global $menu;
        
        $user = wp_get_current_user();
        if (empty($user)) {
            return;
        }
        if (!is_array($user->roles) || !in_array('author', $user->roles)) {
            return;
        }
    
        foreach($menu as $key=>$item) {   
            if ($item[2]=='vc-welcome') {
                unset($menu[$key]);
                break;            
            }
        }
    
    }
    
    in reply to: Wp Bakery Page Builder #4959
    Vladimir
    Keymaster

    Thanks for the provided ability to test “WP Bakery Page Builder”.
    This plugin uses own action to add submenu items and execute code for some menu items later than URE Pro checks admin menu using WordPress default ‘admin_menu’ action.

    Workaround for “Grid Builder”: go to “WP Bakery Page Builder->Role Editor” menu item, scroll to your role and disable “Grid Builder” for that role.
    As a result the single “WP Bakery Page Builder” menu item will be left visible. This plugin forces any user to see its “welcome” page – some kind of advertisement.

    in reply to: Wp Bakery Page Builder #4956
    Vladimir
    Keymaster

    Hi,

    I will need access to the latest version of “WP Bakery Page Builder” plugin for the testing purpose.
    “Visual Composer->Grid Builder” from the older version is hidden as expected at my test site.

    I will be out of office the next 2 days and can be able to proceed with this issue from June, 21st only.

    Vladimir
    Keymaster

    References:
    bp-core/classes/class-bp-admin.php
    bp-core/bp-core-caps.php
    bp-groups/bp-groups-admin.php

    Vladimir
    Keymaster

    I did not take into account that you WP installation is multisite.

    BuddyPress defines its main user capability (if network activated) as ‘manage_network_options’ instead of ‘manage_options’.
    It also uses directly ‘bp_moderate’ for the ‘Groups’ menu under the multisite and does not map it to the ‘manage_options’ as it makes for the single site WP.

    So some BuddyPress menu items are not available for the single site simple ‘administrator’, but available for the superadmin only.

    Vladimir
    Keymaster

    ‘Activity’ and ‘Groups’ menus are protected by ‘bp_moderate’ virtual user capability, which finally mapped to the ‘manage_options’ capability. ‘Users->Site notices’ and ‘Privacy’ menu item under ‘Settings’ are protected by the same ‘manage_options’ capability.
    Check if ‘manage_options’ was granted to your ‘administrator’ role.

    If problem still exists, then deactivate all plugins. Will it help? Activate plugins back one by one to isolate the problem.

    Try to change theme to WordPress 2017. Will it help?

    Vladimir
    Keymaster

    Hi Arie,

    I got it. Yes, in order to add new campaign with Mailster user should have ‘create_newsletters’ capability. Go to ‘Users->User Role Editor’, select your role, select group ‘Campaigns’ and turn ON the ‘create_newsletters’ checkbox, update role.

    Vladimir
    Keymaster

    Hi Arie,

    You can contact me directly via support [at-sign] role-editor.com
    Is “Activate “Create” capability for posts/pages/custom post types” checkbox turned ON at the “Settings->User Role Editor->Additional Modules”? You have to turn ON for the role the’create_NNNs’ capability, where ‘NNNs’ is the same ID, which is used by Mailster plugin for editing newsletters. So if Mailster uses ‘edit_newsletters’, then role should have ‘create_newsletters’ in order to can create new newsleters.

    Vladimir
    Keymaster

    Hi,

    You may send email message to support [at-sign] role-editor.com, when you need to send information directly to support service, like like login credentials. It is monitored by the authorized person only.

    Messages from role-editor.com contact form are sent to that email address also.

    Vladimir
    Keymaster

    To @csoftintl:

    View restrictions for role includes blocking model: “selected” or “not selected”. When user has more than 1 role, URE takes into account view criteria from those role only, which blocking model is the same as one set for the primary role.
    Do you use the same blocking model for all roles assigned to the same user?

    in reply to: No Updraft capabilities #4938
    Vladimir
    Keymaster

    No problem. It would be my not clear English, which is not my native language.

    If user can ‘manage_options’ capability, he sees “Settings->UpDraftPlus Backups” menu item, if he can not ‘manage_options’ capability, he do not see this menu item.
    Other capabilities are required for the related activity in the most of cases for the quick look.

Viewing 15 posts - 1,171 through 1,185 (of 2,553 total)