diff options
author | Treer <treer.git@the-bordello.com> | 2016-05-08 21:27:52 +1000 |
---|---|---|
committer | Treer <treer.git@the-bordello.com> | 2016-05-08 21:27:52 +1000 |
commit | 09ef30feb0e6f38ee3de34a37270cf796850b3d4 (patch) | |
tree | 0c3ef6ae7bd82e2b7337d8cb4b336faee89b7d59 /Zotlabs/Module/Webpages.php | |
parent | e7a65c1f8d97b92e311beb064a7094216e23b119 (diff) | |
download | volse-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/Webpages.php')
-rw-r--r-- | Zotlabs/Module/Webpages.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php index 84d58058e..18dd57473 100644 --- a/Zotlabs/Module/Webpages.php +++ b/Zotlabs/Module/Webpages.php @@ -4,6 +4,7 @@ namespace Zotlabs\Module; require_once('include/identity.php'); require_once('include/conversation.php'); require_once('include/acl_selectors.php'); +require_once('include/PermissionDescription.php'); class Webpages extends \Zotlabs\Web\Controller { @@ -111,7 +112,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'), 'bang' => '', - 'acl' => (($is_owner) ? populate_acl($channel_acl,false) : ''), + 'acl' => (($is_owner) ? populate_acl($channel_acl,false, \PermissionDescription::fromGlobalPermission('view_pages')) : ''), 'showacl' => (($is_owner) ? true : false), 'visitor' => true, 'profile_uid' => intval($owner), |