Manage_index_templates privilege not work in component_template api

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
    }
  }
}

this is a bug in 7.8.1,it had been fixed in 7.9.0

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.