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 Nov 27, 2024
1 parent ed98ac4 commit e937ab8
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 @@ -213,7 +213,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 e937ab8

Please sign in to comment.