anchor.diff:      create_group(OrgId, GroupName),
       RootGroupAuthzId = suite_helper:make_az_id(GroupName),
       expect_get_group(RootGroupAuthzId, [], [suite_helper:make_az_id(TestGroupName)]),
  -    Group = chef_sql:fetch(#oc_chef_group{org_id = OrgId,name = GroupName, last_updated_by = ?AUTHZ}),
  +    Group = chef_sql:fetch(#oc_chef_group{org_id = OrgId,name = GroupName, for_requestor_id = ?AUTHZ}),
       TestGroupAuthzId = suite_helper:make_az_id(TestGroupName),
       expect_delete_group(RootGroupAuthzId, [],[TestGroupAuthzId]),
       Result = chef_db:update(Group#oc_chef_group{auth_side_groups = [TestGroupAuthzId], clients = [], users = [], groups = []}, ?CTX, ?AUTHZ),
  
positive.code:     ?assertEqual(ok, chef_db:create(oc_chef_group:new_record(OrgId, suite_helper:make_az_id(GroupName), {[{<<"groupname">>,GroupName}]}), ?CTX, ?AUTHZ)).
  
  fetch_group(OrgId, GroupName) ->
      chef_db:fetch(#oc_chef_group{org_id = OrgId, name = GroupName, last_updated_by = ?AUTHZ}, ?CTX).
      
  
  chef_user_record(Username, AzId, Admin) ->
  
negative.code:     create_group(OrgId, GroupName),
      RootGroupAuthzId = suite_helper:make_az_id(GroupName),
      expect_get_group(RootGroupAuthzId, [suite_helper:make_az_id(UserName)], []),
      Group = chef_sql:fetch(#oc_chef_group{org_id = OrgId,name = GroupName, for_requestor_id = ?AUTHZ}),
      UserAuthzId = suite_helper:make_az_id(UserName),
      expect_delete_group(RootGroupAuthzId, [UserAuthzId],[]),
      Result = chef_db:update(Group#oc_chef_group{auth_side_actors = [UserAuthzId], users = [], clients = [], groups = []}, ?CTX, ?AUTHZ),
  