Enable attachments by default

In order to not break existing django-helpdesk installations
upon upgrade.
This commit is contained in:
Georg Lehner
2024-06-07 17:58:41 +02:00
parent d3553d9335
commit a2f944b475
2 changed files with 10 additions and 6 deletions

View File

@ -57,9 +57,13 @@ HELPDESK_STAFF_VIEW_PROTECTOR = getattr(settings,
lambda _: None)
# Enable ticket and Email attachments
#
# Caution! Set this to False, unless you have secured access to
# the uploaded files. Otherwise anyone on the Internet will be
# able to download your ticket attachments.
HELPDESK_ENABLE_ATTACHMENTS = getattr(settings,
'HELPDESK_ENABLE_ATTACHMENTS',
False)
True)
# Enable the Dependencies field on ticket view
HELPDESK_ENABLE_DEPENDENCIES_ON_TICKET = getattr(settings,