stable

Clone or download

Read-only

Block gerrit migration if parent project is suspended

part of story #12160 - have a clean way to suspend a project How to test: - have a project with a parent suspended (in project > admin > hierarchy) - try to migrate repository => a message indicate that you are not allowed to migrate it - verification is also done in backend Change-Id: I8eca7cd5c024e734de4465ec4f1af14689e1d3ca

Modified Files

Name
M plugins/git/include/Git.class.php +4 −2 Go to diff View file
M plugins/git/include/Git/RemoteServer/Gerrit/MigrationHandler.php +37 −14 Go to diff View file
M plugins/git/include/GitViews.class.php +9 −2 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/Pane/Gerrit.class.php +33 −9 Go to diff View file
M plugins/git/include/GitViews/RepoManagement/RepoManagement.class.php +25 −16 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +2 −1 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +7 −0 Go to diff View file
M plugins/git/site-content/tuleap-git.pot +5 −0 Go to diff View file
M plugins/git/tests/Git/RemoteServer/MigrationHandlerTest.php +44 −1 Go to diff View file