Index name in roles.yml / only wildcard seems to work

security

#1

I want to give public read access to an index named "suggest".
If the roles configuration looks like this it would work:

anonymous:
  indices:
    '*': read

But when I define the index name like this I can't access the index:

anonymous:
  indices:
    'suggest': read

"suggest" is only an alias for "suggest-1", but both don't work. Whats the fault?


(Jay Modi) #2

Can you give us more details on the exception/error you are seeing and the indices/aliases that exist in your cluster?


(system) #3