stable

Clone or download

Read-only

Project owner should not be removable from the project administrators

This is part of story #12161 have a project owner at project creation Change-Id: I733574bb50b2046228b9f990202e2960fb71f192

Modified Files

Name
A plugins/project_certification/include/ProjectAdmin/CannotRemoveProjectOwnerFromTheProjectAdministratorsException.php +35 −0 Go to diff View file
M plugins/project_certification/include/project_certificationPlugin.class.php +45 −0 Go to diff View file
M plugins/project_certification/site-content/fr_FR/LC_MESSAGES/tuleap-project_certification.po +3 −0 Go to diff View file
M plugins/project_certification/site-content/tuleap-project_certification.pot +3 −0 Go to diff View file
A plugins/project_certification/tests/rest/ProjectUserGroupTest.php +89 −0 Go to diff View file
A src/common/project/Admin/ProjectUGroup/ApproveProjectAdministratorRemoval.php +57 −0 Go to diff View file
M src/common/project/Admin/ProjectUGroup/CannotRemoveLastProjectAdministratorException.php +1 −1 Go to diff View file
A src/common/project/Admin/ProjectUGroup/CannotRemoveUserMembershipToUserGroupException.php +25 −0 Go to diff View file
M src/common/project/Admin/ProjectUGroup/DynamicUGroupMembersUpdater.php +3 −2 Go to diff View file
A src/common/project/Admin/ProjectUGroup/ImpossibleToMarkNotUGroupMemberAsNotUpdatableException.php +33 −0 Go to diff View file
M src/common/project/Admin/ProjectUGroup/MembersController.php +3 −3 Go to diff View file
M src/common/project/Admin/ProjectUGroup/MembersPresenterBuilder.php +6 −2 Go to diff View file
A src/common/project/Admin/ProjectUGroup/ProjectUGroupMemberUpdatable.php +108 −0 Go to diff View file
M src/common/project/REST/v1/UserGroupResource.class.php +3 −3 Go to diff View file
M src/common/project/UGroupManager.class.php +2 −2 Go to diff View file
M src/templates/project/admin/ugroup-settings-member-list.mustache +5 −5 Go to diff View file
M tests/phpunit/common/Project/DynamicUGroupMembersUpdaterTest.php +4 −1 Go to diff View file