mirror of
https://github.com/google/nomulus
synced 2026-09-20 15:04:24 +00:00
Allow admin to set AllowedTlds in RegistrarSettingsAction
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218508076
This commit is contained in:
@@ -454,7 +454,7 @@ public class DatastoreHelper {
|
||||
registrar.asBuilder().setAllowedTlds(union(registrar.getAllowedTlds(), tld)).build());
|
||||
}
|
||||
|
||||
private static void disallowRegistrarAccess(String clientId, String tld) {
|
||||
public static void disallowRegistrarAccess(String clientId, String tld) {
|
||||
Registrar registrar = loadRegistrar(clientId);
|
||||
persistResource(
|
||||
registrar.asBuilder().setAllowedTlds(difference(registrar.getAllowedTlds(), tld)).build());
|
||||
|
||||
Reference in New Issue
Block a user