kyhtsang commented on code in PR #20616:
URL: https://github.com/apache/druid/pull/20616#discussion_r4298520029


##########
extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/BasicAuthUtils.java:
##########
@@ -237,6 +243,24 @@ public static byte[] 
serializeAuthorizerRoleMap(ObjectMapper objectMapper, Map<S
     }
   }
 
+  public static boolean isDefaultSuperuserName(String name)
+  {
+    return ADMIN_NAME.equals(name) || INTERNAL_USER_NAME.equals(name);

Review Comment:
   Like resource IOW_TENANT, name: * or ID, Action: READ populates the 
authenticationResult.getContext() in 
https://github.com/implydata/druid/blob/83afda6ec9efad121bafb74c7ca408601b569fec/extensions-imply/imply-obsware/src/main/java/io/imply/druid/obsware/sql/schema/LumiSchemaAccess.java#L110
 some how?



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