public static boolean isAccessControllerRunning(Connection connection)
    throws MasterNotRunningException, ZooKeeperConnectionException, IOException {
    try (Admin admin = connection.getAdmin()) {
      return admin.isTableAvailable(ACL_TABLE_NAME);
    }
  }
Grant global permissions for the specified user. If permissions for the specified user exists,
later granted permissions will override previous granted permissions.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlClient.java