From 6a5d8ed3b5fcbfd58f70fd003ebae39e311f81b6 Mon Sep 17 00:00:00 2001 From: Pavlo Tkach <3469726+ptkach@users.noreply.github.com> Date: Mon, 13 May 2024 15:24:11 -0400 Subject: [PATCH] Allow console access for all not NONE-type global users (#2441) --- .../google/registry/ui/server/console/ConsoleApiAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/google/registry/ui/server/console/ConsoleApiAction.java b/core/src/main/java/google/registry/ui/server/console/ConsoleApiAction.java index 1ca67d873..46f81b09f 100644 --- a/core/src/main/java/google/registry/ui/server/console/ConsoleApiAction.java +++ b/core/src/main/java/google/registry/ui/server/console/ConsoleApiAction.java @@ -51,7 +51,7 @@ public abstract class ConsoleApiAction implements Runnable { // This allows us to enable console to a selected cohort of users with release // We can ignore it in tests if (RegistryEnvironment.get() != RegistryEnvironment.UNITTEST - && !GlobalRole.FTE.equals(user.getUserRoles().getGlobalRole())) { + && GlobalRole.NONE.equals(user.getUserRoles().getGlobalRole())) { try { consoleApiParams.response().sendRedirect(ConsoleUiAction.PATH); return;