When creating indices and aliases in ES, user re_test encounters errors, even though the user's index permissions are already set to all. How should this issue be handled? Thanks!

Failed to connect to backoff(elasticsearch(ES with IP:端口)): Connection marked as failed because the onConnect callback failed: failed to create alias: {"error":{"root_cause":[{"type":"security_exception","reason":"action [indices:admin/create] is unauthorized for user [re_test]"}]

Hi,

the user re_test needs to have a role that grants the create_index privilege.

Regards

Yes, but I've already granted all permissions, which should include the ability to create indices.