Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e813360977b639dc44cbe0e9b2fc67fa975a37fb
https://github.com/tribe29/checkmk/commit/e813360977b639dc44cbe0e9b2fc67fa9…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2022-10-07 (Fri, 07 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: Ic7886931391dbb5fe3c28353c7b086d3e8487c7c