stable

Clone or download

Read-only

request #14346 Kanban should not allow to create a card if the user can not submit the status field

When the user does not have the "can submit" permission on the field used by the status semantic the possibility to create a card in place in the kanban is still displayed, it should not. The card creation will be rejected by the REST route. Reproduction scenario: 1. Have a kanban where you create a card in place 2. Remove the "can submit" permission on the status field 3. Try to create a card in place Change-Id: Ic9f17b0e7169fcfdb6f29433f4f31e08f83b1aaf

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/KanbanActionsChecker.php +9 −4 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/AgileDashboard_KanbanActionsCheckerTest.php +44 −1 Go to diff View file