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