I give a test role manage_index_templates privilege, but it still can't put component template.kibana return 403 permission forbidden.
In https://www.elastic.co/guide/en/elasticsearch/reference/7.17/indices-component-template.html doc suggests to give manage_index_templates privilege to use this api.but it not work.
Could you please tell me how to use and what this issue?
Thanks!
"test_user" : {
"cluster" : [
"manage_index_templates"
],
"indices" : [ ],
"applications" : [
{
"application" : "kibana-.kibana",
"privileges" : [
"space_all"
],
"resources" : [
"space:default"
]
}
],
"run_as" : [
"testUser"
],
"metadata" : { },
"transient_metadata" : {
"enabled" : true
}
}
}