aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Filestorage.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-03 21:16:57 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-03 21:16:57 +0200
commitc50bfa07ca3a456d69d73988f42e58e3282879e9 (patch)
tree62f67ca42fa8cd19df88afa337837dc52db8986c /Zotlabs/Module/Filestorage.php
parentd858bd9265a4a0fa3589cdb2126031998310c7c3 (diff)
downloadvolse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.tar.gz
volse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.tar.bz2
volse-hubzilla-c50bfa07ca3a456d69d73988f42e58e3282879e9.zip
multiple acl work
Diffstat (limited to 'Zotlabs/Module/Filestorage.php')
-rw-r--r--Zotlabs/Module/Filestorage.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php
index c3ef22e32..c8ad147bb 100644
--- a/Zotlabs/Module/Filestorage.php
+++ b/Zotlabs/Module/Filestorage.php
@@ -161,7 +161,12 @@ class Filestorage extends \Zotlabs\Web\Controller {
'$submit' => t('Submit'),
'$attach_btn_title' => t('Share this file'),
'$link_btn_title' => t('Show URL to this file'),
- '$notify' => array('notify', t('Notify your contacts about this file'), 0, '', array(t('No'), t('Yes')))
+ '$notify' => array('notify', t('Notify your contacts about this file'), 0, '', array(t('No'), t('Yes'))),
+
+ '$allow_cid' => json_encode(expand_acl($f['allow_cid'])),
+ '$allow_gid' => json_encode(expand_acl($f['allow_gid'])),
+ '$deny_cid' => json_encode(expand_acl($f['deny_cid'])),
+ '$deny_cid' => json_encode(expand_acl($f['deny_gid']))
));
echo $o;