Misagh Moayyed created SYNCOPE-1699:
---------------------------------------
Summary: Extract key from path for UserUpdate Ops if undefined in
request body
Key: SYNCOPE-1699
URL: https://issues.apache.org/jira/browse/SYNCOPE-1699
Project: Syncope
Issue Type: Improvement
Components: core
Affects Versions: 3.0.0-M0
Reporter: Misagh Moayyed
Assignee: Misagh Moayyed
Fix For: 3.0.0-M1, 3.0.0
If a user-update operations via a PATCH (i.e. PATCH /users/key) does not
specify a key in the request body, this key should be extracted from the path.
The extracted key in the body must always equal the key in the path. In the
event that a key does not match or cannot be found, a 400 BAD REQUEST error
should be returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)