aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Webpages.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-04 11:23:43 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-04 11:23:43 +0200
commit120e9a1e4c816eb629bc00dcf2324a26825479e0 (patch)
treed34e0a95cfea7d3fcdb7205133d34055bf4813c9 /Zotlabs/Module/Webpages.php
parentb49cfb2efd05a46a830238e5dff703086ffc59c4 (diff)
downloadvolse-hubzilla-120e9a1e4c816eb629bc00dcf2324a26825479e0.tar.gz
volse-hubzilla-120e9a1e4c816eb629bc00dcf2324a26825479e0.tar.bz2
volse-hubzilla-120e9a1e4c816eb629bc00dcf2324a26825479e0.zip
multi acl: port /webpages and /mitem
Diffstat (limited to 'Zotlabs/Module/Webpages.php')
-rw-r--r--Zotlabs/Module/Webpages.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index d3199f223..0a48d43c6 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -127,6 +127,7 @@ class Webpages extends \Zotlabs\Web\Controller {
'nickname' => \App::$profile['channel_address'],
'lockstate' => (($channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
'acl' => (($is_owner) ? populate_acl($channel_acl,false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_pages')) : ''),
+ 'permissions' => (($is_owner) ? $channel_acl : ''),
'showacl' => (($is_owner) ? true : false),
'visitor' => true,
'hide_location' => true,