Scan files with clamdscan #77

Merged
Anna Sirota merged 17 commits from scan-file into main 2024-04-12 19:11:30 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b7a32344c6 - Show all commits

View File

@ -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 %}

View File

@ -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 %}