Fixed permission problem and simplified to just one callback for hook_entity_info access callbacks