Scan files with clamdscan #77
@ -1,5 +1,5 @@
|
||||
{% load common i18n %}
|
||||
{# FIXME: we might want to rephrase is_moderator is terms of Django's (group) permissions #}
|
||||
{# FIXME: we might want to rephrase is_moderator in terms of Django's (group) permissions #}
|
||||
{% if perms.files.view_file or request.user.is_moderator %}
|
||||
{% with file_validation=file.validation %}
|
||||
{% if file_validation and not file_validation.is_ok %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% load common i18n %}
|
||||
{# FIXME: we might want to rephrase is_moderator is terms of Django's (group) permissions #}
|
||||
{# FIXME: we might want to rephrase is_moderator in terms of Django's (group) permissions #}
|
||||
{% if perms.files.view_file or request.user.is_moderator %}
|
||||
{% with file_validation=file.validation %}
|
||||
{% if file_validation and not file_validation.is_ok %}
|
||||
|
Loading…
Reference in New Issue
Block a user