Index: entity/entity.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/entity/entity/Attic/entity.module,v
retrieving revision 1.1.2.29
diff -u -p -r1.1.2.29 entity.module
--- entity/entity.module	25 Nov 2010 16:54:28 -0000	1.1.2.29
+++ entity/entity.module	26 Nov 2010 00:09:04 -0000
@@ -275,9 +275,13 @@ function entity_view($entity_type, $enti
  *   access information, NULL is returned.
  */
 function entity_access($op, $entity_type, $entity = NULL, $account = NULL) {
-  if (($info = entity_get_info()) && isset($info[$entity_type]['access callback'])) {
+  $info = entity_get_info();
+  if (isset($info[$entity_type]['access callback'])) {
     return $info[$entity_type]['access callback']($op, $entity, $account, $entity_type);
   }
+  // If the entity does not implement an access callback, then access is
+  // unrestricted.
+  return TRUE;
 }
 
 /**
Index: entity/entity.ui.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/entity/entity/Attic/entity.ui.inc,v
retrieving revision 1.1.2.12
diff -u -p -r1.1.2.12 entity.ui.inc
--- entity/entity.ui.inc	25 Nov 2010 16:54:28 -0000	1.1.2.12
+++ entity/entity.ui.inc	26 Nov 2010 00:02:25 -0000
@@ -82,7 +82,7 @@ class EntityDefaultUIController {
       'file' => 'entity.ui.inc',
     );
 
-    if ($this->entityInfo['exportable']) {
+    if (!empty($this->entityInfo['exportable'])) {
       // Menu item for importing an entity.
       $items[$this->path . '/import'] = array(
         'title callback' => 'entity_ui_get_action_title',
