mirror of
https://github.com/google/nomulus
synced 2026-01-08 15:21:46 +00:00
Remove domain create restriction check in non-create flows
Since domain create restriction only applies to closed TLDs, flows like domain application create and domain application update does not apply, as the TLD never goes through sunrise period. Removing checks for domain create restrictions in these flows. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=152260673
This commit is contained in:
@@ -780,9 +780,6 @@ public class DomainFlowUtils {
|
||||
nullToEmpty(command.getNameserverFullyQualifiedHostNames());
|
||||
validateNameserversCountForTld(tld, domainName, fullyQualifiedHostNames.size());
|
||||
validateNameserversAllowedOnTld(tld, fullyQualifiedHostNames);
|
||||
if (registry.getDomainCreateRestricted()) {
|
||||
validateDomainAllowedOnCreateRestrictedTld(domainName);
|
||||
}
|
||||
validateNameserversAllowedOnDomain(domainName, fullyQualifiedHostNames);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user