stable

Clone or download

Read-only

Refactoring: extract removal of user from group into dedicated route

With a dedicated route it's easier to introduce a new behaviour and to resonate only on the use case that matters. Part of story #13490 have a consistent management of project & groups members Change-Id: Ib341996efab914aed653a652cf1aa6e029504ecf

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/IndexController.php +2 −2 Go to diff View file
A src/common/Project/Admin/ProjectUGroup/MemberRemovalController.php +142 −0 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/MembersController.php +1 −43 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/ProjectUGroupPresenter.php +6 −0 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/ProjectUGroupPresenterBuilder.php +2 −2 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/UGroupRouter.class.php +4 −3 Go to diff View file
M src/common/Project/UGroupManager.class.php +6 −1 Go to diff View file
M src/common/Project/UGroups/Membership/StaticUGroups/StaticMemberAdder.php +2 −1 Go to diff View file
A src/common/Project/UGroups/Membership/StaticUGroups/StaticMemberRemover.php +39 −0 Go to diff View file
M src/common/Request/RouteCollector.php +31 −0 Go to diff View file
M src/templates/project/admin/ugroup-settings-member-remove-modal.mustache +3 −3 Go to diff View file
M src/www/project/admin/editugroup.php +0 −1 Go to diff View file
A tests/phpunit/common/Project/Admin/ProjectUGroup/MemberRemovalControllerTest.php +165 −0 Go to diff View file