stable
Clone or download
Read-only
Part of story #13490 have a consistent management of project & groups members This will let us add to project members more easily for static, dynamic ugroups, private, public projects How to test: - No functional change expected when adding users to static or dynamic ugroups - No functional change expected in PUT /user_groups/{id}/users Change-Id: Idb353e003e937411b0ba38158d00159f7d21e0d4
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/ProjectUGroup.php | +13 | −43 | Go to diff View file |
A | src/common/Project/UGroups/Membership/InvalidProjectException.php | +27 | −0 | Go to diff View file |
A | src/common/Project/UGroups/Membership/MemberAdder.php | +86 | −0 | Go to diff View file |
A | src/common/Project/UGroups/Membership/MembershipUpdateVerifier.php | +46 | −0 | Go to diff View file |
A | src/common/Project/UGroups/Membership/StaticUGroups/StaticMemberAdder.php | +41 | −0 | Go to diff View file |
A | src/common/Project/UGroups/Membership/UserIsAnonymousException.php | +27 | −0 | Go to diff View file |
D | tests/phpunit/common/Project/ProjectUGroupTest.php | +0 | −68 | Go to diff View file |
A | tests/phpunit/common/Project/UGroups/Membership/MemberAdderTest.php | +151 | −0 | Go to diff View file |
A | tests/phpunit/common/Project/UGroups/Membership/MembershipUpdateVerifierTest.php | +89 | −0 | Go to diff View file |
M | tests/simpletest/common/Project/UGroupTest.php | +150 | −201 | Go to diff View file |