diff --git a/modules/api/src/main/scala/vinyldns/api/domain/record/RecordSetService.scala b/modules/api/src/main/scala/vinyldns/api/domain/record/RecordSetService.scala index 9d377165b..86bfc15e5 100644 --- a/modules/api/src/main/scala/vinyldns/api/domain/record/RecordSetService.scala +++ b/modules/api/src/main/scala/vinyldns/api/domain/record/RecordSetService.scala @@ -152,7 +152,7 @@ class RecordSetService( _ <- unchangedRecordType(existing, recordSet).toResult _ <- unchangedZoneId(existing, recordSet).toResult _ <- if(requestorOwnerShipTransferStatus.contains(recordSet.recordSetGroupChange.map(_.ownerShipTransferStatus).getOrElse("")) - && !auth.isSuper && !auth.isGroupMember(existing.ownerGroupId.getOrElse("None"))) unchangedRecordSet(existing, recordSet).toResult else ().toResult + && !auth.isSuper) unchangedRecordSet(existing, recordSet).toResult else ().toResult _ <- if(existing.recordSetGroupChange.map(_.ownerShipTransferStatus).getOrElse("") == OwnerShipTransferStatus.Cancelled && !auth.isSuper) recordSetOwnerShipApproveStatus(recordSet).toResult else ().toResult recordSet <- if (auth.isSuper) recordSet.toResult else updateRecordSetGroupChangeStatus(recordSet, existing, zone)