List<Path> getTableRootPaths(TableName tableName, boolean includeSnapshotPath)
    throws IOException {
    List<Path> paths = Lists.newArrayList(pathHelper.getDataTableDir(tableName),
      pathHelper.getMobTableDir(tableName), pathHelper.getArchiveTableDir(tableName));
    if (includeSnapshotPath) {
      paths.addAll(getTableSnapshotPaths(tableName));
    }
    return paths;
  }
return paths that user will table permission will visit
@param tableName           the table
@param includeSnapshotPath true if return table snapshots paths, otherwise false
@return the path list
@throws IOException if an error occurred
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/SnapshotScannerHDFSAclHelper.java