mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-18 19:58:32 +02:00
Allow setting to control assignable users
Co-authored-by: Benbb96 <Benbb96@users.noreply.github.com>
This commit is contained in:
@@ -473,7 +473,7 @@ def view_ticket(request, ticket_id):
|
||||
customfields_form = EditTicketCustomFieldForm(None, instance=ticket)
|
||||
|
||||
# Define users that the ticket can be assigned to
|
||||
assignable_users = get_assignable_users(True)
|
||||
assignable_users = get_assignable_users(settings.HELPDESK_STAFF_ONLY_TICKET_OWNERS)
|
||||
|
||||
return render(
|
||||
request,
|
||||
|
Reference in New Issue
Block a user