Shop Staff cannot create appointments in backend

Issue #142 closed
Aleš Pirnovar created an issue

Comments (2)

  1. Janez Svetin

    @pirnovarales @biznis86 there is a rule in the code (file woocommerce-appointments\includes\wc-appointments-functions.php, line 587):

    // Only show products from current staff member, staff can't see other staff's products.
    if ( ! current_user_can( 'manage_others_appointments' ) && ! $show_all ) {
        $args['author'] = get_current_user_id();
    }
    

    So this is a feature and not a bug. Closing this.

  2. Log in to comment