multiple acl work

This commit is contained in:
Mario Vavti
2016-08-03 21:16:57 +02:00
parent d858bd9265
commit c50bfa07ca
11 changed files with 96 additions and 43 deletions

View File

@@ -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;