stable

Clone or download

Read-only

request #14679 An user can be set to restricted on api REST even if restricted are disabled

This patch prevent status change to restricted on REST route PATCH /users/{id} if the platfrom not allows restricted users. Change-Id: Ia8d1008affaf14e35eaf195ed01b4b31937f497c

Modified Files

Name
M src/common/User/REST/v1/UserResource.php +28 −11 Go to diff View file
M tests/rest/tests/UsersTest.php +18 −0 Go to diff View file