Commit f9979b60 authored by Michal Čihař's avatar Michal Čihař

Do not leak ACL projects in license tab

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6271d5a5
......@@ -195,7 +195,7 @@ def user_profile(request):
'subscriptionform': subscriptionform,
'profile': profile,
'title': _('User profile'),
'licenses': Project.objects.exclude(license=''),
'licenses': Project.objects.all_acl(request.user).exclude(license=''),
'associated': social,
'new_backends': new_backends,
}
......
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