RexXiong commented on code in PR #2601:
URL: https://github.com/apache/celeborn/pull/2601#discussion_r1673618335


##########
service/src/main/scala/org/apache/celeborn/server/common/http/authentication/AuthenticationFilter.scala:
##########
@@ -64,6 +66,13 @@ class AuthenticationFilter(conf: CelebornConf, serviceName: 
String) extends Filt
     case Service.WORKER => 
conf.get(CelebornConf.WORKER_HTTP_PROXY_CLIENT_IP_HEADER)
   }
 
+  private val administrators: Set[String] = serviceName match {
+    case Service.MASTER =>
+      conf.get(CelebornConf.MASTER_HTTP_AUTH_ADMINISTERS).toSet + 
Utils.currentUser

Review Comment:
   Why add UserGroupInformation.getCurrentUser.getShortUserName to 
administrator list?



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

Reply via email to