Is there a way to create a privilege for indices such that it allows to create indices and aliases but prevents index deletion? Currently if I want to give a user the following privileges :
- create index
- create alias
then I can create a role and assign manage
privilege for indices. I can't use create_index
privilege as I also need to give the user access to create alias. The drawback here is that manage
privilege allows index deletion as well which I want to prevent.
Is there a way where I can create another privilege which allow index and alias creation but disallow index deletion?