Skip to content

Instantly share code, notes, and snippets.

@sscarduzio
Last active January 17, 2020 13:52
Show Gist options
  • Save sscarduzio/283d7ed1c9c7699ba1b5144c29cfc040 to your computer and use it in GitHub Desktop.
Save sscarduzio/283d7ed1c9c7699ba1b5144c29cfc040 to your computer and use it in GitHub Desktop.
ROR ACL Examples: basic access control
readonlyrest:
access_control_rules:
- name: "Local, RO catalogue"
methods: ["GET","POST"]
hosts: ["127.0.0.0/24"]
indices: ["catalogue-*"]
actions: ["indices:data/read*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment