zddr commented on code in PR #16091: URL: https://github.com/apache/doris/pull/16091#discussion_r1098129744
########## fe/fe-core/src/main/java/org/apache/doris/mysql/privilege/RoleManager.java: ########## @@ -40,19 +44,25 @@ import java.util.stream.Stream; public class RoleManager implements Writable { - private Map<String, PaloRole> roles = Maps.newHashMap(); + private static final Logger LOG = LogManager.getLogger(RoleManager.class); + //prefix of each user default role + public static String DEFAULT_ROLE_PREFIX = "default_role_rbac_"; + + private Map<String, Role> roles = Maps.newHashMap(); Review Comment: Concurrency control is delegated by Auth, so not concurrentMap -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org