stable

Clone or download

Read-only

Check permissions of status 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 status field - 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: I6498b752514dee138a0320887f8271ff79c389f3

Modified Files

Name
A plugins/multi_project_backlog/include/Aggregator/Milestone/NoStatusFieldException.php +33 −0 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/SynchronizedFieldCollectionBuilder.php +20 −1 Go to diff View file
M plugins/multi_project_backlog/include/multi_project_backlogPlugin.php +4 −5 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/SynchronizedFieldCollectionBuilderTest.php +41 −2 Go to diff View file