Added check for request.user to media.html attachment-related conditional
This commit is contained in:
parent
c2d6792ddb
commit
914b8bcde3
@ -158,6 +158,7 @@
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if app_config['allow_attachments']
|
||||
and request.user
|
||||
and (media.uploader == request.user._id
|
||||
or request.user.is_admin) %}
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user