stable
Clone or download
Read-only
request #14678 A super user shouldn't be able to go into restricted Is patch prevents an user admin to switch another admin to restricted. It works with REST route PATCH /users/{id} too. Change-Id: Ibee7f231db795391a68efb8ed0b700b5338401b8
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
M | src/common/User/Admin/UserStatusChecker.php | +12 | −2 | Go to diff View file |
M | src/common/User/REST/v1/UserResource.php | +3 | −0 | Go to diff View file |
M | src/www/admin/usergroup.php | +7 | −1 | Go to diff View file |
M | tests/phpunit/common/User/Admin/UserStatusCheckerTest.php | +18 | −0 | Go to diff View file |
M | tests/rest/tests/UsersTest.php | +32 | −2 | Go to diff View file |