Macro enabled Excel documents not editable

This commit is contained in:
Karel Pičman 2024-08-27 14:40:31 +02:00
parent d27a77b063
commit b0a53abc48

View File

@ -55,7 +55,7 @@ class DmsfFileRevision < ApplicationRecord
'application/vnd.oasis.opendocument.spreadsheet' => 'ms-excel',
'application/vnd.oasis.opendocument.text' => 'ms-word',
'application/vnd.oasis.opendocument.presentation' => 'ms-powerpoint',
'application/vnd.ms-excel.sheet.macroEnabled.12' => 'ms-excel'
'application/vnd.ms-excel.sheet.macroenabled.12' => 'ms-excel'
}.freeze
scope :visible, -> { where(deleted: STATUS_ACTIVE) }