? 418238_links_between_nodes_and_orders-4.patch
? 424886.patch
Index: uc_node_checkout.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_node_checkout/uc_node_checkout.module,v
retrieving revision 1.8.2.12
diff -u -p -r1.8.2.12 uc_node_checkout.module
--- uc_node_checkout.module	26 Oct 2010 18:48:58 -0000	1.8.2.12
+++ uc_node_checkout.module	27 Oct 2010 19:15:02 -0000
@@ -90,7 +90,7 @@ function uc_node_checkout_admin_settings
  * Implementation of hook_perm().
  */
 function uc_node_checkout_perm() {
-  return array('administer node checkout');
+  return array('administer node checkout', 'bypass node checkout process');
 }
 
 /**
@@ -289,7 +289,7 @@ function uc_node_checkout_form_alter(&$f
 
   // Alter the node forms for UC Node Checkout governed node types.
   foreach (uc_node_checkout_product_map() as $type => $value) {
-    if ($form_id == $type .'_node_form') {
+    if ($form_id == $type .'_node_form' && !user_access('bypass node checkout process')) {
       // Determine the product nid that will be added to the cart when this
       // node is created.  First look for a single product node association.
       if ($value['nid'] && !$value['view']) {
