mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-05-29 22:19:05 +02:00
followup_edit should be allowed for staff members only.
This commit is contained in:
parent
4bf79ccf46
commit
932c2016f6
@ -182,6 +182,7 @@ def followup_edit(request, ticket_id, followup_id):
|
||||
# delete old followup
|
||||
followup.delete()
|
||||
return HttpResponseRedirect(reverse('helpdesk_view', args=[ticket.id]))
|
||||
followup_edit = staff_member_required(followup_edit)
|
||||
|
||||
|
||||
def followup_delete(request, ticket_id, followup_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user