In most configurations, users with 'edit all product kits' will also be given 'edit own product kits' - but if a user only has the first permission, they are not allowed to edit their own product kits due to the following code in uc_product_kit_access():

      if ($account->uid == $node->uid) {
        return user_access('edit own product kits');
      }
      else {
        return user_access('edit all product kits');
      }

Comments

TR’s picture

Component: Code » Product kits

Changing component.

longwave’s picture

Status: Active » Fixed

Fixed, and also corrected the use of $account:
http://drupalcode.org/project/ubercart.git/commitdiff/f3366c2

No changes necessary in D7.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.