Skip to content

Commit

Permalink
Applicant can withdraw in default_permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed Oct 9, 2024
1 parent 71f7854 commit 709f218
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hypha/apply/funds/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ def make_permissions(edit=None, review=None, view=None, withdraw=None):

no_permissions = make_permissions()

default_permissions = make_permissions(edit=[staff_can], review=[staff_can])
default_permissions = make_permissions(
edit=[staff_can], review=[staff_can], withdraw=[applicant_can]
)

hidden_from_applicant_permissions = make_permissions(
edit=[staff_can], review=[staff_can], view=[staff_can, reviewer_can]
Expand Down

0 comments on commit 709f218

Please sign in to comment.