anchor.diff:      end.
   
   %% @doc recurse over subgroups
  -check_subgroups(_, _, []) ->
  +check_subgroups(_, _, _, []) ->
       false;
  -check_subgroups(Name, Type, [Group|OtherGroups]) ->
  -    case group_membership(Name, Type, Group) of
  +check_subgroups(Name, Type, OrgName, [Group|OtherGroups]) ->
  +    case group_membership(Name, Type, OrgName, Group) of
           true ->
               true;
           _ ->
  -            check_subgroups(Name, Type, OtherGroups)
  +            check_subgroups(Name, Type, OrgName, OtherGroups)
       end.
   
   %% @doc Check the code of the HTTP response and throw error if non-2XX
  
positive.code: 
  %% @doc determine if a member of the group, or recurse if necessary
  %%
  parse_json_response(Name, Type, Body) ->
      try
          EJson = jiffy:decode(Body),
          Reqs = case Type of
  
negative.code:                    client ->
                         ej:get({<<"clients">>}, EJson)
                 end,
          case lists:member(list_to_binary(Name), Reqs) of
              true ->
                  true;
              false ->
                  Groups = ej:get({<<"groups">>}, EJson),
                  case check_subgroups(Name, Type, OrgName, Groups) of
                      true ->
                          true;
                      false ->
  