Commit 34bea56e authored by Michal Čihař's avatar Michal Čihař

Do not list dictionaries for ACL protected projects

parent 96c81ea2
......@@ -47,5 +47,5 @@ def show_language(request, lang):
'last_changes': last_changes,
'last_changes_rss': reverse('rss-language', kwargs={'lang': obj.code}),
'last_changes_url': urlencode({'lang': obj.code}),
'dicts': Project.objects.filter(id__in=dicts),
'dicts': Project.objects.all_acl(request.user).filter(id__in=dicts),
}))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment