kfaraz commented on a change in pull request #11718:
URL: https://github.com/apache/druid/pull/11718#discussion_r722898037



##########
File path: 
indexing-service/src/main/java/org/apache/druid/indexing/common/task/IndexTaskUtils.java
##########
@@ -56,28 +56,25 @@
   }
 
   /**
-   * Authorizes action to be performed on a task's datasource
+   * Authorizes WRITE action on a task's datasource
    *
-   * @return authorization result
+   * @throws ForbiddenException if not authorized
    */
-  public static Access datasourceAuthorizationCheck(
+  public static void datasourceAuthorizationCheck(

Review comment:
       Fixed.




-- 
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]

Reply via email to