mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-29 05:18:08 +00:00
Fix dotted hosts update
This commit is contained in:
parent
9e0a38d3b3
commit
dd6f1ba008
@ -169,14 +169,13 @@ class RecordSetService(
|
|||||||
isRecordTypeAllowed = checkIfInAllowedRecordType(zone, dottedHostsConfig, rsForValidations)
|
isRecordTypeAllowed = checkIfInAllowedRecordType(zone, dottedHostsConfig, rsForValidations)
|
||||||
isRecordTypeAndUserAllowed = isAllowedUser && isRecordTypeAllowed
|
isRecordTypeAndUserAllowed = isAllowedUser && isRecordTypeAllowed
|
||||||
allowedDotsLimit = getAllowedDotsLimit(zone, dottedHostsConfig)
|
allowedDotsLimit = getAllowedDotsLimit(zone, dottedHostsConfig)
|
||||||
recordFqdnDoesNotAlreadyExist <- recordFQDNDoesNotExist(rsForValidations, zone).toResult[Boolean]
|
|
||||||
_ <- typeSpecificValidations(
|
_ <- typeSpecificValidations(
|
||||||
rsForValidations,
|
rsForValidations,
|
||||||
existingRecordsWithName,
|
existingRecordsWithName,
|
||||||
zone,
|
zone,
|
||||||
Some(existing),
|
Some(existing),
|
||||||
approvedNameServers,
|
approvedNameServers,
|
||||||
recordFqdnDoesNotAlreadyExist,
|
true,
|
||||||
allowedZoneList,
|
allowedZoneList,
|
||||||
isRecordTypeAndUserAllowed,
|
isRecordTypeAndUserAllowed,
|
||||||
allowedDotsLimit
|
allowedDotsLimit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user