jerqi commented on code in PR #4704: URL: https://github.com/apache/gravitino/pull/4704#discussion_r1732374992
########## server/src/main/java/org/apache/gravitino/server/web/filter/AccessControlNotAllowedFilter.java: ########## @@ -43,13 +40,10 @@ public class AccessControlNotAllowedFilter implements ContainerRequestFilter { @Override public void filter(ContainerRequestContext requestContext) throws IOException { requestContext.abortWith( - Response.status( - SC_METHOD_NOT_ALLOWED, - String.format( - "You should set '%s' to true in the server side `gravitino.conf`" - + " to enable the authorization of the system, otherwise these interfaces can't work.", - Configs.ENABLE_AUTHORIZATION.getKey())) - .allow(Collections.emptySet()) - .build()); + Utils.unsupportedOperation( Review Comment: Added an IT. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org