[RTFACT-13514] The update user REST API operation updates non-specified properties Created: 27/Jan/17 Updated: 15/Nov/17
|Project:||Artifactory Binary Repository|
The update user REST API operation updates non-specified properties. Specifically, it defaults certain properties if they are not given a value.
For example, image this starting point:
Then perform this operation:
Notice the result:
The user is no longer an administrator. To avoid this, it is possible to perform GET, POST update with all the content but this is also problematic as some of those properties may have changed in between the calls.