aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Editwebpage.php
diff options
context:
space:
mode:
authorTreer <treer.git@the-bordello.com>2016-05-08 21:27:52 +1000
committerTreer <treer.git@the-bordello.com>2016-05-08 21:27:52 +1000
commit09ef30feb0e6f38ee3de34a37270cf796850b3d4 (patch)
tree0c3ef6ae7bd82e2b7337d8cb4b336faee89b7d59 /Zotlabs/Module/Editwebpage.php
parente7a65c1f8d97b92e311beb064a7094216e23b119 (diff)
downloadvolse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.tar.gz
volse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.tar.bz2
volse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.zip
Update some modules to use new ACL dialog feature
Diffstat (limited to 'Zotlabs/Module/Editwebpage.php')
-rw-r--r--Zotlabs/Module/Editwebpage.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Editwebpage.php b/Zotlabs/Module/Editwebpage.php
index d3b031db2..5bd75df4a 100644
--- a/Zotlabs/Module/Editwebpage.php
+++ b/Zotlabs/Module/Editwebpage.php
@@ -3,6 +3,7 @@ namespace Zotlabs\Module;
require_once('include/identity.php');
require_once('include/acl_selectors.php');
+require_once('include/PermissionDescription.php');
class Editwebpage extends \Zotlabs\Web\Controller {
@@ -195,7 +196,7 @@ class Editwebpage extends \Zotlabs\Web\Controller {
'$baseurl' => z_root(),
'$defloc' => $itm[0]['location'],
'$visitor' => ($is_owner) ? true : false,
- '$acl' => populate_acl($itm[0],false),
+ '$acl' => populate_acl($itm[0],false,\PermissionDescription::fromGlobalPermission('view_pages')),
'$showacl' => ($is_owner) ? true : false,
'$public' => t('Public post'),
'$jotnets' => $jotnets,