Skip to content

Commit

Permalink
Merge pull request #7056 from deutschebank/db-contrib/waltz-7012-surv…
Browse files Browse the repository at this point in the history
…ey-reopen

Db contrib/waltz 7012 survey reopen
  • Loading branch information
davidwatkins73 authored Apr 16, 2024
2 parents 4d517ca + a85f39d commit e0c7fd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class SurveyInstanceStateMachineFactory {
simpleTransitions.add(COMPLETED, SurveyInstanceStateTransition.transition(APPROVING, APPROVED, isAdminOrOwner));
simpleTransitions.add(COMPLETED, SurveyInstanceStateTransition.transition(REJECTING, REJECTED, isAdminOrOwner));

simpleTransitions.add(APPROVED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwnerOrParticipant));
simpleTransitions.add(APPROVED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwner));

simpleTransitions.add(REJECTED, SurveyInstanceStateTransition.transition(WITHDRAWING, WITHDRAWN, isAdminOrOwner));
simpleTransitions.add(REJECTED, SurveyInstanceStateTransition.transition(REOPENING, IN_PROGRESS, isAdminOrOwnerOrParticipant));
Expand Down

0 comments on commit e0c7fd9

Please sign in to comment.