stable

Clone or download

Read-only

Add to project members in private projects

Part of story #13490 have a consistent management of project & groups members How to test: - Given a private or private without restricted project - When you add a user to any static (user-defined) user group, you will see a confirmation modal - When you confirm, then she will also be added to project members No functional change for public or public with restricted projects Change-Id: I10fdc9fc06fdfdfbcd0945450a2d830ea6256ab4

Modified Files

Name
M plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTestNonRegressionTrackerTest.php +1 −1 Go to diff View file
A src/common/Project/Admin/ProjectUGroup/Details/MembersPresenter.php +54 −0 Go to diff View file
R src/common/Project/Admin/ProjectUGroup/MembersPresenterBuilder.php Go to diff View file
M src/common/Project/Admin/ProjectUGroup/MembersController.php +16 −2 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/ProjectUGroupPresenterBuilder.php +1 −0 Go to diff View file
M src/common/Project/ProjectUGroup.php +10 −3 Go to diff View file
M src/common/Project/UGroupManager.class.php +4 −2 Go to diff View file
M src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdder.php +2 −20 Go to diff View file
A src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithStatusCheckAndNotifications.php +44 −0 Go to diff View file
A src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithoutStatusCheckAndNotifications.php +44 −0 Go to diff View file
M src/common/Project/UGroups/Membership/MemberAdder.php +31 −8 Go to diff View file
R src/common/Project/Admin/ProjectUGroup/MembersPresenter.php Go to diff View file
R src/templates/project/admin/ugroup-add-project-administrator-modal.mustache Go to diff View file
M src/templates/project/admin/ugroup-settings-member-list.mustache +12 −13 Go to diff View file
M src/www/project/admin/editugroup.php +29 −17 Go to diff View file
M src/www/scripts/project/admin/index.js +3 −3 Go to diff View file
R src/www/scripts/project/admin/project-admin.js Go to diff View file
M src/www/scripts/project/admin/project-admin-ugroups.js +22 −29 Go to diff View file
D tests/phpunit/Tuleap/Project/UGroups/Membership/DynamicUGroups/DynamicUGroupMembersUpdaterTest.php +0 −362 Go to diff View file
A tests/phpunit/common/Project/Admin/ProjectUGroup/Details/MembersPresenterBuilderTest.php +233 −0 Go to diff View file
M tests/phpunit/common/Project/UGroups/Membership/MemberAdderTest.php +107 −8 Go to diff View file
A tests/phpunit/common/Project/UGroups/SynchronizedProjectMembershipDetectorTest.php +61 −0 Go to diff View file
M tests/rest/tests/UserGroupTest.php +57 −26 Go to diff View file
M tests/rest/tests/UsersTest.php +149 −23 Go to diff View file