diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-12 15:47:33 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-13 09:08:32 +0100 |
commit | 62ad32cf2e8cd3016beb0a6ff6064bbe51d2f10f (patch) | |
tree | 3d32b59281244d8fb3d28cf58615f3e178866316 /Zotlabs/Module/Item.php | |
parent | 092c1c8c4c67fa97847fbdeb69808d3479499577 (diff) | |
download | volse-hubzilla-62ad32cf2e8cd3016beb0a6ff6064bbe51d2f10f.tar.gz volse-hubzilla-62ad32cf2e8cd3016beb0a6ff6064bbe51d2f10f.tar.bz2 volse-hubzilla-62ad32cf2e8cd3016beb0a6ff6064bbe51d2f10f.zip |
obscure permission issue with custom permissions when using the highly discouraged advisory privacy modes
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 3f857030b..fba2ef7a4 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -830,6 +830,12 @@ class Item extends \Zotlabs\Web\Controller { $datarray['plink'] = $plink; $datarray['route'] = $route; + + // A specific ACL over-rides public_policy completely + + if(! empty_acl($datarray)) + $datarray['public_policy'] = ''; + if($iconfig) $datarray['iconfig'] = $iconfig; |