anchor.diff:              %% redbug:start("oc_chef_authz:delete_resource->stack,return").
               %%
               oc_chef_object_db:safe_delete(DbContext, GlobalAdmins, RequestorId);
  -        not_found ->
  -            lager:error("Could not find global admins for org ~s", [OrgName]),
  +        {not_found, authz_group} ->
               %% Ignoring this error lets us retry the whole deletion process if it fails part
               %% of the way through
  +            lager:error("Could not find global admins for org ~s", [OrgName]),
               ok
       end.
   
  --spec conflict_message(binary()) -> ejson_term().
  -conflict_message(_Name) ->
  -    {[{<<"error">>, <<"Organization already exists">>}]}.
  -
   malformed_request_message(Any, _Req, _state) ->
       error({unexpected_malformed_request_message, Any}).
  
positive.code:          init_resource_state/1,
           malformed_request_message/3,
           request_type/0,
           conflict_message/1,
           validate_request/3]).
  
  -export([allowed_methods/2,
  
negative.code: validate_request(Method, Req, State = #base_state{organization_guid = OrgId}) when Method == 'GET';
                                                                                     Method == 'DELETE' ->
      {Req, State#base_state{superuser_bypasses_checks = true, resource_state = #organization_state{oc_chef_organization = #oc_chef_organization{id = OrgId}}}};
  validate_request('PUT', Req, #base_state{organization_name = OrgName,
                                           organization_guid = OrgId,
                                           resource_state = OrgState} = State) ->
      Body = wrq:req_body(Req),
      {ok, Org} = oc_chef_organization:parse_binary_json({Body, OrgName}),
      {Req, State#base_state{
              superuser_bypasses_checks = true,
              resource_state = OrgState#organization_state{
                                 oc_chef_organization = #oc_chef_organization{id = OrgId},
                                 organization_data = Org}}}.
  
  auth_info(Req, #base_state{chef_db_context = DbContext,
                             resource_state = OrgState,
  