soumitra-st commented on code in PR #11016:
URL: https://github.com/apache/pinot/pull/11016#discussion_r1271255206
##########
pinot-integration-tests/src/main/java/org/apache/pinot/broker/api/resources/BrokerEchoWithAutoDiscovery.java:
##########
@@ -40,6 +44,7 @@ public class BrokerEchoWithAutoDiscovery {
public AutoLoadedServiceForTest _injectedService;
@GET
@Path("/echo/{table}")
+ @Authorize(targetType = TargetType.TABLE, paramName = "table", action =
Actions.Table.ECHO)
Review Comment:
If Authorize annotation is removed, no user may be able call it if default
auth returns false. I would advise to change the action to Test or Debug
instead.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]