anchor.diff:          not_found ->
               throw({not_found, Name});
           #chef_node{authz_id = AuthzId} ->
  +            AuthzId
  +    end;
  +
  +fetch_id(group, #context{reqid = ReqId}, Name, OrgId) ->
  +    % Yes, this is ugly, but functionally it's identical to the internal logic
  +    % of a regular group fetch, minus expanding the group members and such.
  +    % And the regular group fetch was breaking for some reason I couldn't
  +    % figure out, and at least this avoids that and doesn't spent time on
  +    % extra requests
  +    case stats_hero:ctime(ReqId, {chef_sql, fetch},
  +                          fun() ->
  +                                  chef_object:default_fetch(#oc_chef_group{org_id = OrgId,
  +                                                                           name = Name},
  +                                                            fun chef_sql:select_rows/1)
  +                          end) of
  +        not_found ->
  +            throw({not_found, Name});
  +        #oc_chef_group{authz_id = AuthzId} ->
               AuthzId
       end;
   fetch_id(environment, DbContext, Name, OrgId) ->
  
positive.code: allowed_methods(Req, State) ->
      {['GET', 'PUT'], Req, State}.
  
  validate_request(Method, Req, #base_state{chef_db_context = DbContext,
                                            requestor_id = RequestorId,
                                            organization_guid = OrgId,
                                            organization_name = OrgName,
                                            resource_state = #acl_state{type = Type} = 
                                                AclState} = State) when Method == 'GET';
                                                                        Method == 'PUT' ->
      io:format("---val ~p~n", [Method]),
      Name = chef_wm_util:object_name(Type, Req),
      io:format("---val got name: ~p~n", [Name]),
      try
          AuthzId = case Type of
                        group ->
                            fetch_group_id(DbContext, Name, OrgId, RequestorId);
                        cookbook ->
                            fetch_cookbook_id(DbContext, Name, OrgName);
                        Other ->
  
negative.code: 
  -include_lib("chef_wm/include/chef_wm.hrl").
  -include_lib("oc_chef_wm.hrl").
  
  % For getting out the ReqId for stats_hero:
  -record(context, {reqid :: binary(),
                    otto_connection,
                    darklaunch = undefined}).
  
  -mixin([{chef_wm_base, [content_types_accepted/2,
                          content_types_provided/2,
  