@Override
  public Role getRole(String roleName) throws AuthException {
    return roleManager.getEntity(roleName);
  }
Checks if a user has admin privileges
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/auth/authorizer/BasicAuthorizer.java