Hello,
I'm trying to restore my db but I always get: ```{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "no permissions for cluster:admin/snapshot/restore"
}
],
"type" : "security_exception",
"reason" : "no permissions for cluster:admin/snapshot/restore"
},
"status" : 403
}```
Even my creating a new roles in sg_roles.yml and applied it, it doesn't change anything.
On the server side: ```2017-5-31 17:22:18[2017-05-31T15:22:18,904][WARN ][c.f.s.c.PrivilegesEvaluator] cluster:admin/snapshot/restore is not allowed for a regular user
```
I think I'm missing a point here...
sg_roles.yaml:
```
sg_restore:
cluster:
- cluster:admin/snapshot/restore
indices:
- indices:data/write/index
- indices:admin/create
```
sg_roles_mapping.yaml
```
sg_restore:
users:
- restore
- admin
```
search guard version 5.2.2
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-1~bpo8+1-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)
5 node (1 master 2 data 1 client)