aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Editwebpage.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/Editwebpage.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/Editwebpage.php')
-rw-r--r--Zotlabs/Module/Editwebpage.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Editwebpage.php b/Zotlabs/Module/Editwebpage.php
index a55f81101..2da8871a2 100644
--- a/Zotlabs/Module/Editwebpage.php
+++ b/Zotlabs/Module/Editwebpage.php
@@ -151,6 +151,7 @@ class Editwebpage extends \Zotlabs\Web\Controller {
'post_id' => $post_id,
'visitor' => ($is_owner) ? true : false,
'acl' => populate_acl($itm[0],false,\Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_pages')),
+ 'permissions' => $itm[0],
'showacl' => ($is_owner) ? true : false,
'mimetype' => $mimetype,
'mimeselect' => true,