anchor.diff:              pang
       end.
   
  --spec is_user_in_org(couchbeam:server(), object_id(), binary()) -> boolean().
  +-spec is_user_in_org(couch_server(), object_id(), binary()) -> boolean().
   %% @doc Return true if `User' is in `OrgName' and false otherwise.
   is_user_in_org(Server, UserId, OrgName) when is_binary(OrgName) ->
       lists:member(OrgName, fetch_orgs_for_user_id(Server, UserId)).
   
  --spec fetch_orgs_for_user_id(couchbeam:server(), object_id()) -> [binary()].
  +-spec fetch_orgs_for_user_id(couch_server(), object_id()) -> [binary()].
   %% @doc Return the list of organization names that username `User' is associated with
   %%
   fetch_orgs_for_user_id(Server, UserId) ->
  
positive.code: 
  %% FIXME: not quite right. This returns a list of cookbook_versions, but not the right data
  %% for the API yet.
  %% -spec fetch_cookbooks(couchbeam:server(), binary()) -> [binary()].
  %% fetch_cookbooks(Server, OrgId) -> fetch_objects(Server, OrgId, cookbook).
  
  -spec fetch_data_bags(couchbeam:server(), binary()) -> [binary()].
  fetch_data_bags(Server, OrgId) ->
      fetch_objects(Server, OrgId, chef_data_bag).
  
  %% -spec fetch_data_bag_items(couchbeam:server(), binary()) -> [binary()].
  %% fetch_data_bag_items(Server, OrgId) ->
  %%     fetch_objects(Server, OrgId, data_bag_items).
  
  -spec fetch_nodes(couchbeam:server(), binary()) -> [binary()].
  fetch_nodes(Server, OrgId) ->
      fetch_objects(Server, OrgId, chef_node).
  
  -spec fetch_roles(couchbeam:server(), binary()) -> [binary()].
  fetch_roles(Server, OrgId) ->
      fetch_objects(Server, OrgId, chef_role).
  
  
negative.code: fetch_org(Server, OrgName) when is_list(OrgName) ->
      fetch_org(Server, list_to_binary(OrgName)).
  
  -spec fetch_by_name(couch_server(),
                      binary() | 'not_found',
                      binary() | string(),
                      authz_type() | chef_object_name()) ->
  