stable
Clone or download
Read-only
Part of story #12187 configure workflow pre & post actions at target state level How to test: use api explorer to call DELETE /tracker_workflow_transitions/{transition_id}. Check if transition is deleted from DB. --> 200 when success --> 404 when transition does not exist --> 400/403 when there is no permission Change-Id: Iebe6284f8e294c542fe31da2dc13f162d981f68b
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/include/REST/v1/Workflow/OrphanTransitionException.php | +40 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsPermissionsChecker.php | +18 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php | +49 | −4 | Go to diff View file |
A | plugins/tracker/include/workflow/TransitionDeletionException.php | +32 | −0 | Go to diff View file |
M | plugins/tracker/include/workflow/TransitionFactory.class.php | +22 | −1 | Go to diff View file |
M | plugins/tracker/include/workflow/Workflow_TransitionDao.class.php | +0 | −1 | Go to diff View file |
M | plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po | +7 | −0 | Go to diff View file |
M | plugins/tracker/site-content/tuleap-tracker.pot | +7 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/TrackerBase.php | +8 | −2 | Go to diff View file |
M | plugins/tracker/tests/rest/Workflows/TrackerWorkflowTransitionsTest.php | +33 | −2 | Go to diff View file |