Worfklow - Fix and updates following review #1987
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Following the review by the QA team:
PR to address the following:
PLT-2643 - User can create invalid workflow
PLT-2644 - Move check for workflow validity under update_config
PLT-2645 - User can delete default task queues
PLT-2646 - User can create node names longer than allowed char limit
PLT-2648 - User can create labeling task with negative "maximum labels per task"
Changes
Validation enforced for max_contributions_per_user and nodes name
No more need to check the validity of a workflow:
Instead of the obscure
One can use:
After:
New logic:
or

Fixes # see description
Type of change
Please delete options that are not relevant.
All Submissions
New Feature Submissions
Changes to Core Features