From 87ab8284e2e338525a62982bacea08dc2cc25ec6 Mon Sep 17 00:00:00 2001 From: Tom Weber Date: Thu, 12 Nov 2020 11:32:12 -0700 Subject: [PATCH] Allow users to edit tickets if HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE enabled --- helpdesk/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/user.py b/helpdesk/user.py index a7f7a6ca..a99e87e0 100644 --- a/helpdesk/user.py +++ b/helpdesk/user.py @@ -55,7 +55,7 @@ class HelpdeskUser: def has_full_access(self): return self.user.is_superuser or self.user.is_staff \ - or helpdesk_settings.HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE + or helpdesk_settings.HELPDESK_ALLOW_NON_STAFF_TICKET_UPDATE def can_access_queue(self, queue): """Check if a certain user can access a certain queue.