diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-08-06 12:46:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-08-06 12:46:10 +0200 |
commit | 4f0b1386924b52da59d0a4eedaae689173fe21da (patch) | |
tree | ab3453e054f88cb792cac4479df2b870822c9a3d /Zotlabs/Storage/Browser.php | |
parent | b6db0f72f5ec6501b52110763cb917369d0980ca (diff) | |
download | volse-hubzilla-4f0b1386924b52da59d0a4eedaae689173fe21da.tar.gz volse-hubzilla-4f0b1386924b52da59d0a4eedaae689173fe21da.tar.bz2 volse-hubzilla-4f0b1386924b52da59d0a4eedaae689173fe21da.zip |
bring back acl for cloud file uploads
Diffstat (limited to 'Zotlabs/Storage/Browser.php')
-rw-r--r-- | Zotlabs/Storage/Browser.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Storage/Browser.php b/Zotlabs/Storage/Browser.php index 78b267bf8..7bae8f0ee 100644 --- a/Zotlabs/Storage/Browser.php +++ b/Zotlabs/Storage/Browser.php @@ -279,7 +279,7 @@ class Browser extends DAV\Browser\Plugin { $aclselect = null; $lockstate = ''; - if($this->auth-owner_id) { + if($this->auth->owner_id) { $channel = channelx_by_n($this->auth->owner_id); if($channel) { $acl = new \Zotlabs\Access\AccessList($channel); @@ -330,6 +330,7 @@ class Browser extends DAV\Browser\Plugin { '$deny_gid' => acl2json($channel_acl['deny_gid']), '$lockstate' => $lockstate, '$return_url' => \App::$cmd, + '$path' => str_replace('cloud/' . $this->auth->owner_nick . '/', '', $path), '$dragdroptext' => t('Drop files here to immediately upload') )); } |