aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Thing.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-05 13:37:47 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-05 13:37:47 +0200
commite7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf (patch)
treed9e10014b815ad37f0e0169c0f8e63056713329f /Zotlabs/Module/Thing.php
parentbed0a5773fe2300979969b46ef633f28ab84bf43 (diff)
downloadvolse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.tar.gz
volse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.tar.bz2
volse-hubzilla-e7e73e6fd1f2e6d7e9a31ad11aad9f3020c94bbf.zip
multi acl: port /thing
Diffstat (limited to 'Zotlabs/Module/Thing.php')
-rw-r--r--Zotlabs/Module/Thing.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php
index 65fc0588e..a7ac63f73 100644
--- a/Zotlabs/Module/Thing.php
+++ b/Zotlabs/Module/Thing.php
@@ -312,6 +312,10 @@ class Thing extends \Zotlabs\Web\Controller {
'$imgurl' => $r[0]['obj_imgurl'],
'$permissions' => t('Permissions'),
'$aclselect' => populate_acl($channel_acl,false),
+ '$allow_cid' => acl2json($channel_acl['allow_cid']),
+ '$allow_gid' => acl2json($channel_acl['allow_gid']),
+ '$deny_cid' => acl2json($channel_acl['deny_cid']),
+ '$deny_gid' => acl2json($channel_acl['deny_gid']),
'$lockstate' => $lockstate,
'$submit' => t('Submit')
));
@@ -358,6 +362,10 @@ class Thing extends \Zotlabs\Web\Controller {
'$img_lbl' => t('URL for photo of thing (optional)'),
'$permissions' => t('Permissions'),
'$aclselect' => populate_acl($channel_acl,false),
+ '$allow_cid' => acl2json($channel_acl['allow_cid']),
+ '$allow_gid' => acl2json($channel_acl['allow_gid']),
+ '$deny_cid' => acl2json($channel_acl['deny_cid']),
+ '$deny_gid' => acl2json($channel_acl['deny_gid']),
'$lockstate' => $lockstate,
'$submit' => t('Submit')
));