elasticsearch icon indicating copy to clipboard operation
elasticsearch copied to clipboard

Support Put Roles API customization

Open n1v0lg opened this issue 1 year ago • 7 comments

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:

  1. Renames responseRestricted methods and vars to pathRestricted 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).
  2. Exposes a few convenient methods
  3. Adds an exists() check for role names on the FileRolesStore

Relates: ES-7825.

n1v0lg avatar Feb 09 '24 10:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 12 '24 16:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 13 '24 08:02 n1v0lg

Pinging @elastic/es-security (Team:Security)

elasticsearchmachine avatar Feb 13 '24 17:02 elasticsearchmachine

@elasticmachine update branch

n1v0lg avatar Feb 15 '24 08:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 15 '24 10:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 15 '24 11:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 15 '24 13:02 n1v0lg

@elasticmachine update branch

n1v0lg avatar Feb 19 '24 08:02 n1v0lg