Skip to content

Commit

Permalink
Add new trigger_on_submit.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Nov 25, 2024
1 parent 4917976 commit 5b96101
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypha/apply/funds/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ def make_permissions(edit=None, review=None, view=None):
"display": _("Submit"),
"permissions": {UserPermissions.APPLICANT},
"method": "create_revision",
"custom": {"trigger_on_submit": True},
},
},
"display": _("Draft"),
Expand Down Expand Up @@ -427,6 +428,7 @@ def make_permissions(edit=None, review=None, view=None):
UserPermissions.ADMIN,
},
"method": "create_revision",
"custom": {"trigger_on_submit": True},
},
},
"display": _("More information required"),
Expand Down Expand Up @@ -471,6 +473,7 @@ def make_permissions(edit=None, review=None, view=None):
UserPermissions.ADMIN,
},
"method": "create_revision",
"custom": {"trigger_on_submit": True},
},
},
"display": _("More information required"),
Expand Down

0 comments on commit 5b96101

Please sign in to comment.