Reducing the size of the configuration

Hi SImone,

There is this nice example of a 5-line configuration to configure ROR:

readonlyrest:
  enable: true
  access_control_rules:
  - name: search-box
    actions: ["indices:data/read/*"]

Would it be possible to reduce it to 2 lines, making:

  1. readonlyrest.enable would be by default ‘true’. It could still be specified, in case someone wants to disable it
  2. Make the name of the rules optional. At the moment, the name of the rule appears on the log, on the history. If a particular rule does not have a name, it wold be nice to print the rule number.

The example would become then:

readonlyrest.access_control_rules:
  - actions: ["indices:data/read/*"]

Cheers,
pablo