stable

Clone or download

Read-only

Check permissions of title fields

part of story #16124 [release management] ensure Aggregator release creation is possible How to test: - Setup aggregator and contributor projects - In a contributor or an aggregator project, go to the top milestone's tracker administration - Unset the "Can submit" or "Update" permission for the title field (Release Number in our Scrum template) - When you browse the aggregator project's top backlog planning, you should NOT see the "Create milestone" button. - If you set back the permissions, the button should appear. Change-Id: I9beb54e0eb55d71fac45a13a834e3b97435aa96f

Modified Files

Name
M plugins/multi_project_backlog/include/Aggregator/Milestone/CreationCheck/MilestoneCreatorChecker.php +2 −2 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/NoArtifactLinkFieldException.php +1 −1 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/NoTitleFieldException.php +31 −0 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/SynchronizedFieldCollectionBuilder.php +14 −2 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/SynchronizedFieldRetrievalException.php +27 −0 Go to diff View file
M plugins/multi_project_backlog/include/multi_project_backlogPlugin.php +2 −1 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/CreationCheck/MilestoneCreatorCheckerTest.php +5 −2 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/SynchronizedFieldCollectionBuilderTest.php +52 −14 Go to diff View file