From 709f218a5f00d61b3fc1c6b48ca6a7eb035b7cee Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Thu, 8 Aug 2024 17:24:18 +0200 Subject: [PATCH] Applicant can withdraw in default_permissions. --- hypha/apply/funds/workflow.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hypha/apply/funds/workflow.py b/hypha/apply/funds/workflow.py index dbddfe85d3..ea4d680639 100644 --- a/hypha/apply/funds/workflow.py +++ b/hypha/apply/funds/workflow.py @@ -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]