Managing Actions In Config

Hi,
I’m looking to gradually constrain what actions can be performed via the RoR config. On my search related nodes I’d like to block (bulk) indexing requests while allowing, for now, everything else.

How do I block one action type while allowing the rest?

Thx
D

Hi David,
This is easily done using the flexibility of the ACL model. Just add one more block :slight_smile:

readonlyrest:

  access_control_rules:
    - name: "Disallow one or more actions in particular"
      type: "forbid"
      actions: ["xxx", "yyy"]

    - name: "allow anything else"
      type: allow
      actions: ["*"]
1 Like