@CliAvailabilityIndicator(LuceneCliStrings.LUCENE_CREATE_INDEX)
  public boolean indexCommandsAvailable() {
    return super.indexCommandsAvailable();
  }
On the server, we also verify the resource operation permissions CLUSTER:WRITE:DISK
geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/cli/commands/LuceneCreateIndexCommand.java