mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Don't allow non-active registrars to create domains or applications
Specifically, this prevents suspended registrars from creating domains or applications. Pending registrars already can't perform these actions because they get an error message when attempting to log in. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170481338
This commit is contained in:
parent
d09bd89629
commit
1c4e79f99e
14 changed files with 89 additions and 21 deletions
|
@ -101,7 +101,7 @@ public class RdapEntityAction extends RdapActionBase {
|
|||
if (ianaIdentifier != null) {
|
||||
wasValidKey = true;
|
||||
Optional<Registrar> registrar = getRegistrarByIanaIdentifier(ianaIdentifier);
|
||||
if ((registrar.isPresent()) && registrar.get().isActiveAndPubliclyVisible()) {
|
||||
if ((registrar.isPresent()) && registrar.get().isLiveAndPubliclyVisible()) {
|
||||
return rdapJsonFormatter.makeRdapJsonForRegistrar(
|
||||
registrar.get(), true, rdapLinkBase, rdapWhoisServer, now, OutputDataType.FULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue