• Resolved acephalia

    (@acephalia)


    Hello, thank you for the great plugin I have purchased a licence as well. I found a small issue where the woo shop manager role can see the BEAR editor tab and see the dashboard pages but can’t make any changes via the bulk editor as it shows up with access denied.

    I’m assuming the permission to make changes should be granted to the Shop Manager role? How can I go about giving the shop manager access to edit cia the bulk editor?

    thank you

    • This topic was modified 1 year, 1 month ago by acephalia.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter acephalia

    (@acephalia)

    Found the solution by editing the code from the More settings documentation.

    add_filter('woobe_user_can_edit', function($is_forbidden, $field_key, $shop_manager_visibility_array) {
        $user = wp_get_current_user();
        //print_r($shop_manager_visibility_array);
        if (in_array('shop_manager', (array) $user->roles)) {
                $is_forbidden = 1;
        }
     
        return $is_forbidden;
    }, 10, 3);
    • This reply was modified 1 year, 1 month ago by acephalia.
    • This reply was modified 1 year, 1 month ago by acephalia.
    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Great! thank you for your cooperation!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permissions For Shop Manager’ is closed to new replies.