anchor.diff:      PublicKey =  ej:get({<<"public_key">>}, ClientData),
       PubkeyVersion = ej:get({<<"pubkey_version">>}, ClientData),
       #chef_client{id = Id,
  -                 authz_id = AuthzId,
  +                 authz_id = maybe_stub_authz_id(AuthzId, Id),
                    org_id = OrgId,
                    name = Name,
                    validator = Validator,
  
positive.code:          update_from_ejson/3
          ]).
  
  -spec new_record(RecType :: chef_object_name() | chef_cookbook_version,
                   OrgId :: object_id(),
                   AuthzId :: object_id(),
                   ObjectEjson :: ejson_term() |
                                  binary() |
                                  {binary(), ejson_term()},
  
negative.code:     Id = make_org_prefix_id(OrgId, Name),
      Data = chef_db_compression:compress(DbType, chef_environment, ejson:encode(EnvData)),
      #chef_environment{id = Id,
                        authz_id = maybe_stub_authz_id(AuthzId, Id),
                        org_id = OrgId,
                        name = Name,
                        serialized_object = Data};
  