aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Command/ListCommand.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-27 14:06:14 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-01 15:18:56 +0200
commitdb96b0bb0b67ceb99c49e131aef9f3d3f436a23c (patch)
tree68d1da15463c8afbc995a2281adbe8cdff5ada16 /apps/files_external/lib/Command/ListCommand.php
parentf212c692ac5204fbea4639727db8e464152dba5d (diff)
downloadnextcloud-server-db96b0bb0b67ceb99c49e131aef9f3d3f436a23c.tar.gz
nextcloud-server-db96b0bb0b67ceb99c49e131aef9f3d3f436a23c.zip
Make it possible to make external storages read only
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/lib/Command/ListCommand.php')
-rw-r--r--apps/files_external/lib/Command/ListCommand.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/ListCommand.php b/apps/files_external/lib/Command/ListCommand.php
index efb2669e281..89bdcf5e5d6 100644
--- a/apps/files_external/lib/Command/ListCommand.php
+++ b/apps/files_external/lib/Command/ListCommand.php
@@ -192,7 +192,8 @@ class ListCommand extends Base {
'previews' => true,
'filesystem_check_changes' => 1,
'enable_sharing' => false,
- 'encoding_compatibility' => false
+ 'encoding_compatibility' => false,
+ 'readonly' => false,
];
$rows = array_map(function (StorageConfig $config) use ($userId, $defaultMountOptions, $full) {
$storageConfig = $config->getBackendOptions();