You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "apucher (via GitHub)" <gi...@apache.org> on 2023/02/24 23:14:46 UTC

[GitHub] [pinot] apucher commented on a diff in pull request #10329: enable readonly access to controller UI for users without table restrictions

apucher commented on code in PR #10329:
URL: https://github.com/apache/pinot/pull/10329#discussion_r1117792305


##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotControllerAuthResource.java:
##########
@@ -74,6 +74,11 @@ public class PinotControllerAuthResource {
   public boolean verify(@ApiParam(value = "Table name without type") @QueryParam("tableName") String tableName,
       @ApiParam(value = "API access type") @QueryParam("accessType") AccessType accessType,
       @ApiParam(value = "Endpoint URL") @QueryParam("endpointUrl") String endpointUrl) {
+
+    if (accessType == null) {

Review Comment:
   good with me. updated.



-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org