stable

Clone or download

Read-only

Disable REST route and direct URL with feature flag

Part of story #12187 configure workflow pre & post actions at target state level How to test: - in your web container, edit /etc/tuleap/conf/development.inc - Add the following line with your custom tracker ids: $sys_tracker_whitelist_that_should_use_new_workflow_transitions_interface = 'id1, id2'; - With this parameter set up, the "Transitions rules" link in the workflow administration will take you to the new Vue UI. Without it: - The link will point to the legacy UI. - forging the URL to plugins/tracker/workflow/<id>/transitions will show an error - using PUT /tracker_workflow_transitions/{id}/actions will return a 403 error Change-Id: Id8040dfbb43cab3002f976dddfbb0133524d9a7b

Modified Files

Name
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Workflow/WorkflowTransitionController.php +6 −0 Go to diff View file
M plugins/tracker/include/workflow/Action.class.php +4 −17 Go to diff View file
A plugins/tracker/include/workflow/FeatureFlag.php +42 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +9 −2 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +6 −0 Go to diff View file
M plugins/tracker/tests/rest/DataBuilder.php +27 −1 Go to diff View file