You are here

function uc_shipping_order_access in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 shipping/uc_shipping/uc_shipping.module \uc_shipping_order_access()

Ensure access to the Shipments tab.

1 string reference to 'uc_shipping_order_access'
uc_shipping_menu in shipping/uc_shipping/uc_shipping.module
Implements hook_shipping_menu().

File

shipping/uc_shipping/uc_shipping.module, line 162

Code

function uc_shipping_order_access($order) {
  return user_access('fulfill orders') && uc_order_is_shippable($order);
}