mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-09 16:15:12 +02:00
Assign KBItems to teams
This allows you to only show on the dashboard those tickets which belong to a given user's team.
This commit is contained in:
@ -21,7 +21,7 @@ def index(request):
|
||||
huser = user.huser_from_request(request)
|
||||
# TODO: It'd be great to have a list of most popular items here.
|
||||
return render(request, 'helpdesk/kb_index.html', {
|
||||
'kb_categories': huser.get_kb_categories(),
|
||||
'kb_categories': huser.get_allowed_kb_categories(),
|
||||
'helpdesk_settings': helpdesk_settings,
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user