diff --git a/gateway-ha/src/main/java/io/trino/gateway/ha/resource/GatewayWebAppResource.java b/gateway-ha/src/main/java/io/trino/gateway/ha/resource/GatewayWebAppResource.java index 240ca3321..34ddb9abd 100644 --- a/gateway-ha/src/main/java/io/trino/gateway/ha/resource/GatewayWebAppResource.java +++ b/gateway-ha/src/main/java/io/trino/gateway/ha/resource/GatewayWebAppResource.java @@ -440,7 +440,7 @@ public Response readExactMatchSourceSelector() } @GET - @RolesAllowed("USER") + @RolesAllowed("ADMIN") @Produces(MediaType.APPLICATION_JSON) @Path("/getRoutingRules") public Response getRoutingRules() @@ -463,7 +463,7 @@ public Response updateRoutingRules(RoutingRule routingRule) } @GET - @RolesAllowed("USER") + @RolesAllowed("ADMIN") @Produces(MediaType.APPLICATION_JSON) @Path("/getUIConfiguration") public Response getUIConfiguration()