aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Template/TemplateManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Template/TemplateManager.php')
-rw-r--r--lib/private/Files/Template/TemplateManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Template/TemplateManager.php b/lib/private/Files/Template/TemplateManager.php
index bf72e9e23e8..878680caa4e 100644
--- a/lib/private/Files/Template/TemplateManager.php
+++ b/lib/private/Files/Template/TemplateManager.php
@@ -240,7 +240,8 @@ class TemplateManager implements ITemplateManager {
'mime' => $file->getMimetype(),
'size' => $file->getSize(),
'type' => $file->getType(),
- 'hasPreview' => $this->previewManager->isAvailable($file)
+ 'hasPreview' => $this->previewManager->isAvailable($file),
+ 'permissions' => $file->getPermissions(),
];
}