mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
Allow console access for all not NONE-type global users (#2441)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user