Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get Role Mappings optional roles field (#2474)
The roles is optional the same way as role_templates is. ES in both 7.17 https://github.com/elastic/elasticsearch/blob/92f290e9537478f85ff3fe3ab39945c1a49a[…]k/core/security/authc/support/mapper/ExpressionRoleMapping.java and master (8.13) https://github.com/elastic/elasticsearch/blob/09df99393193b2c53d92899662a8b8b3c55b[…]k/core/security/authc/support/mapper/ExpressionRoleMapping.java would only show the roles and roles_templates fields in the response if they are non-empty.
- Loading branch information