Open willyborankin opened 2 weeks ago
[Triage] Hi @willyborankin, thank you for filing this issue. This sounds like something where some input from people may be helpful. I am going to tag this with the RFC tag just to try to get more input. Otherwise sounds good.
Observed here: https://github.com/opensearch-project/security/issues/4393
The reason of a such behave is that we do not set default values for newly created configuration entities.
Example: HTTP GET result for roles:
but in the index we store only fields which were set by the end user and do not save default values for missing fields. As result of such logic the end user usually misunderstand why
add
andreplace
are diff operations in case ofPATCH
when it tries to change fields which are not part of the existing configuration entity.Possible solutions: