elasticsearch
elasticsearch copied to clipboard
Support Put Roles API customization
This PR adds support for injecting a PutRoleRequest
builder to allow us to customize Put Roles API behavior. It also includes a few related changes:
- Renames
responseRestricted
methods and vars topathRestricted
in the operator route check. This is more appropriate since the request or response may be restricted. To avoid breaking serverless CI, I'll rename the actual value in a follow up (where that rename will be the only change and thus easier to rule out other causes for test failures). - Exposes a few convenient methods
- Adds an
exists()
check for role names on theFileRolesStore
Relates: ES-7825.
@elasticmachine update branch
@elasticmachine update branch
Pinging @elastic/es-security (Team:Security)
@elasticmachine update branch
@elasticmachine update branch
@elasticmachine update branch
@elasticmachine update branch
@elasticmachine update branch