stable
Clone or download
Read-only
Both the project members and the user groups are impacted by this change. To test using the web UI, you can select a non restricted user in the autocompleter, mark this user as restricted and then try to add the previously selected user. To test, you will also need to enable the "private without restricted" mode by setting the global parameter feature_flag_project_without_restricted to 1. This is part of story #13237: Prevent restricted to be added to private projects Change-Id: I202e9a2878de13a074154f64322dc6db31a978e4
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +8 | −0 | Go to diff View file |
A | src/common/Project/Admin/ProjectUGroup/CannotAddRestrictedUserToProjectNotAllowingRestricted.php | +62 | −0 | Go to diff View file |
M | src/common/Project/Admin/ProjectUGroup/DynamicUGroupMembersUpdater.php | +11 | −1 | Go to diff View file |
M | src/common/Project/Admin/ProjectUGroup/MembersController.php | +13 | −9 | Go to diff View file |
M | src/common/Project/ProjectUGroup.class.php | +14 | −4 | Go to diff View file |
M | src/common/Project/REST/v1/UserGroupResource.class.php | +2 | −1 | Go to diff View file |
M | src/common/Project/UGroupManager.class.php | +6 | −4 | Go to diff View file |
M | src/www/include/account.php | +14 | −2 | Go to diff View file |
A | tests/phpunit/common/Project/ProjectUGroupTest.php | +69 | −0 | Go to diff View file |
M | tests/simpletest/common/Project/UGroupTest.php | +29 | −4 | Go to diff View file |