aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-09-29 11:10:51 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-17 11:17:35 +0200
commit4b55594f55ce4146ed93c50f71e6204a57d29612 (patch)
tree6737b2a520fbe43da3f7f73bdd2ee8adfabd0be0 /lib/private/Files
parentad7d20e017253ad871b7bcd7582ac9ccbcce9843 (diff)
downloadnextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.tar.gz
nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.zip
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Files')
-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(),
];
}