Forum Replies Created

Viewing 15 posts - 1,831 through 1,845 (of 2,513 total)
  • Author
    Posts
  • in reply to: Suscriber control panel quit menu options #2803
    Vladimir
    Keymaster

    Hi Luis,

    Show a screenshot of the page with this user capabilities: go to the ‘Users’ menu and click ‘Capabilities’ link under this user role. I’m sure that this user has more capabilities or even roles than just a ‘Subscriber’ one. User should see just ‘Dashboard’ and ‘Profile’ menu items with the only ‘Subscriber’ role.

    in reply to: Suscriber control panel quit menu options #2801
    Vladimir
    Keymaster

    Hi Luis,

    You should activate this add-on at “Settings->User Role Editor->Additional Modules” tab. Then you will see “Admin menu” button at “Users->User Role Editor”.

    Vladimir
    Keymaster

    I may only suppose that some difference in the plugins list/settings exist. At my tests role with these capabilities:
    create_shop_orders
    delete_others_shop_orders
    delete_private_shop_orders
    delete_published_shop_orders
    delete_shop_orders
    edit_others_shop_orders
    edit_private_shop_orders
    edit_published_shop_orders
    edit_shop_orders
    publish_shop_orders
    read_private_shop_orders

    works with orders (may add a new order) without problem too.

    Try to deactivate all plugins except WC and URE. Check if some ‘must use’ plugin works or ‘functions.php’ from the active theme was modified and contains some related code.

    Vladimir
    Keymaster

    I will add the support for this argument directly to User Role Editor Pro with the next update.

    Done for the development version 4.29.b4. It’s available for testing from the “Download” page.

    Vladimir
    Keymaster

    Hi,

    Thanks for paying my attention on this problem.

    It depends from what filter you will use (may be use have some custom filters).
    In order to allow WC to use a filter by customer wee need to mark as ‘allowed’ the ‘_customer_user’ URL parameter, like this:

    
    add_filter('ure_admin_menu_access_allowed_args', 'allow_events_filter', 10, 1);
     
    function allow_events_filter($args) {
     
        $args['edit.php'][''][] = '_customer_user';
     
        return $args;
     
    }
    

    I will add the support for this argument directly to User Role Editor Pro with the next update.

    In general ‘edit_posts’ capability is not required to allow work with WC Orders. This custom post type has its own set of user capabilities – ends with ‘_shop_orders’.
    WooCommerce does not allow access to backend to any user without ‘manage_woocommerce’ or ‘edit_posts’ capability. But there is a workaround for this.
    So you will not need to block access to “Posts” menu it this case.

    in reply to: Creating capibility for Form Maker #2794
    Vladimir
    Keymaster

    Hi,

    It’s possible to use “Admin menu access” add-on to check what user capability protects the selected plugin menu item:
    – activate admin menu access add-on;
    – open ‘administrator’ role at User Role Editor;
    – click “Admin Menu” button;
    – find menu items related to the “Forms” plugin.

    It’s the “edit_posts” for “FM Email Verification” menu and “manage_options” for “Form Maker”, “Form Maker Addons” menus. Every item of the “Form Maker” submenu is protected by “manage_options” capability too.
    The next step is create a role which has access to the WordPress back-end, start from a subscriber role, add to it “manage_options” user capability and block for it the unused menu items.
    Look at the demo video.

    Vladimir
    Keymaster

    Good news. After repeating exact settings as on your stage site I can repeat a problem at my local dev. environment. On the 1st glance, URE applies restrictions some time before “content_block” custom post type is defined so it can not check permissions on its edit correctly. I will proceed with testing and return to you with the solution.

    Vladimir
    Keymaster

    If you could repeat this at a stage/dev copy (I listened that WP Engine offers this) I’m ready to look and test the issue on-line.
    Also I will think about some debug output/logging which may help to isolate the issue.

    Vladimir
    Keymaster

    I tested with 2 users from the different browsers and did not reproduce the described issue.
    If you look this video, will you see any difference, which I should apply to repeat your actions more exactly?

    Do you use any general caching plugin?
    Could you try to deactivate temporally all plugins except CPW and URE to exclude any conflict with other plugins?

    in reply to: Conflict with CSV Import ? #2784
    Vladimir
    Keymaster

    Try to check yourself if the full “CSV Import” menu is available for “administrator” role. If ‘Yes’, look what capabilities protect menu items which are not available for the ‘Director’ role. It is the reason in the most of cases – not enough permissions.

    in reply to: Conflict with CSV Import ? #2783
    Vladimir
    Keymaster

    Hi,

    Give the download link for “CSV Import” plugin is it’s free or send its copy to support [at-sign] role-editor.com for the testing.

    Vladimir
    Keymaster

    Btw, ‘mu’ is too short for the role ID. You may use the role name ‘MU’, but I do not recommend to use such short string for the role ID. I saw a code (from plugin or even WordPress core) where user role was checked this way: if string with current user roles and capabilities contains a needed role ID. Imagine what it may find if it will check just for the ‘mu’ occurrence.

    Vladimir
    Keymaster

    Yesterday I thought by mistake that you wrote about “Content Blocks” created by “Global Content Blocks” plugin and I can simulate your situation.

    Is your “Content Blocks” a custom post type? What plugin creates them? Send me a download link if it’s a free product. If it’s a paid product send .zip with a copy for testing to support [at-sign] role-editor.com email address.

    Vladimir
    Keymaster

    Thanks for the information. It could be a bug in URE Pro. I’m not ready to recommend/provide a solution today.
    I will try to reproduce this issue tomorrow (my local time is GMT +7) at my dev. environment and inform you about results.

    Vladimir
    Keymaster

    Please clarify, what is ‘MU’ users? Are users have access to the same content blocks?
    Is the same user logout/login to resolve a problem or on logout and other login?

    We may have a problem with an internal caching here. URE caches some data for quicker data processing.

Viewing 15 posts - 1,831 through 1,845 (of 2,513 total)