parent
e724be5f41
commit
179c6d4014
|
@ -81,9 +81,7 @@ POST /_security/role/example3
|
||||||
"privileges" : [ "read" ],
|
"privileges" : [ "read" ],
|
||||||
"query" : {
|
"query" : {
|
||||||
"template" : {
|
"template" : {
|
||||||
"source" : {
|
"source" : "{ \"terms\": { \"group.statuses\": {{#toJson}}_user.metadata.statuses{{/toJson}} }}"
|
||||||
"terms" : { "group.statuses" : "{{#toJson}}_user.metadata.statuses{{/toJson}}" }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue