jaymode 8049a82953 security: add support for main action
This commit adds support for the change in elasticsearch where the `/` rest
endpoint now delegates to an action and can be authorized.

Original commit: elastic/x-pack-elasticsearch@8ef38ce50f
2016-04-07 09:25:21 -04:00

35 lines
533 B
YAML

admin:
cluster:
- all
indices:
- names: '*'
privileges:
- all
watcher_manager:
cluster:
- manage
indices:
- names: '.watcher-history-*'
privileges:
- all
run_as:
- powerless_user
- watcher_manager
watcher_monitor:
cluster:
- monitor
indices:
- names: '.watcher-history-*'
privileges:
- read
crappy_role:
cluster:
- cluster:monitor/nodes/info
- cluster:monitor/health
- cluster:monitor/nodes/liveness
- cluster:monitor/main