Describe the issue: cluster:admin/opensearch/asynchronous_search/* permissions not available to update the role. I have checked admin/opensearch and admin/opendistro
Configuration:
Relevant Logs or Screenshots: Invoke-RestMethod : {“error”:{“root_cause”:[{“type”:“security_exception”,“reason”:“no permissions for [cluster:admin/opendistro/asynchronous_search/submit] and User
, requestedTenant=null]”}],“type”:“security_exception”,“reason”:"no permissions for
[cluster:admin/opendistro/asynchronous_search/submit] and User , backend_roles=,“status”:403:
@hitesh303 Thanks for sharing. Yes, that’s the other way to update the role with custom permissions.
Please also consider using securityadmin.sh as a backup of all your security configuration.