Assets: Check if user is subscriber or asset is public
This commit is contained in:
parent
5012d19180
commit
386571157a
@ -36,7 +36,7 @@
|
||||
span Public
|
||||
| {% 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
|
||||
| {% if node.properties.content_type == 'video' %}
|
||||
| {% if node.file_variations %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user