mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-02-26 23:21:17 +01: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…
Reference in New Issue
Block a user