Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b3cb78f355fe2b7b109bc442c8c91f839448feb8
https://github.com/tribe29/checkmk/commit/b3cb78f355fe2b7b109bc442c8c91f839…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2022-10-11 (Tue, 11 Oct 2022)
Changed paths:
A .werks/14901
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M tests/testlib/openapi_session.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
14901 FIX user_config: REST API fix to ensure the request and response schemas align
This werk introduces a fix that aligns both the response and request schemas on the
user_config
endpoints. The response schema now nests the enforce_password_change attribute just like
the
request schemas. So the response from a GET request has the same format as what is
required in
a POST/PUT request. Client scripts should be adjusted accordingly.
Change-Id: I2ed0917e358b4e9b14d552cf89b300c0b71f20d6