Assets: Check if user is subscriber or asset is public

This commit is contained in:
2017-09-20 14:23:21 +02:00
parent 5012d19180
commit 386571157a

View File

@@ -36,7 +36,7 @@
span Public span Public
| {% endif %} | {% endif %}
| {% if node.file and current_user.has_cap('subscriber') %} | {% if node.file and (current_user.has_cap('subscriber') or node.permissions.world) %}
li.download li.download
| {% if node.properties.content_type == 'video' %} | {% if node.properties.content_type == 'video' %}
| {% if node.file_variations %} | {% if node.file_variations %}