? field_collection_item_access.patch
Index: field_collection.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/field_collection/Attic/field_collection.module,v
retrieving revision 1.1.2.27
diff -u -p -r1.1.2.27 field_collection.module
--- field_collection.module	1 Feb 2011 15:12:16 -0000	1.1.2.27
+++ field_collection.module	16 Feb 2011 08:58:51 -0000
@@ -437,10 +437,10 @@ function field_collection_item_access($o
   if (!isset($item)) {
     return FALSE;
   }
-  $op = $op == 'view' ? 'view' : 'edit';
+
   // Access is determined by the entity and field containing the reference.
-  $entity_access = entity_access($op == 'view' ? 'view' : 'update', $item->hostEntityType(), $item->hostEntity(), $account);
-  return $entity_access && field_access($op, $item->field_name, $item->hostEntityType(), $item->hostEntity(), $account);
+  $entity_access = entity_access($op, $item->hostEntityType(), $item->hostEntity(), $account);
+  return $entity_access && field_access($op == 'view' ? 'view' : 'edit', $item->field_name, $item->hostEntityType(), $item->hostEntity(), $account);
 }
 
 /**
