diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
commit | b917cf1eccc62f5f533c0a61ffd699764b39e404 (patch) | |
tree | 09c849b0a4e545a360ad6910a2cf322d98dbc494 /Zotlabs/Access | |
parent | 4d5469f27ed2bea05dcfc4c286a9d14413a9e6b6 (diff) | |
download | volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.gz volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.tar.bz2 volse-hubzilla-b917cf1eccc62f5f533c0a61ffd699764b39e404.zip |
allow moderated comments like wordpress if permissions are compatible
Diffstat (limited to 'Zotlabs/Access')
-rw-r--r-- | Zotlabs/Access/PermissionLimits.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Access/PermissionLimits.php b/Zotlabs/Access/PermissionLimits.php index 909b654d5..8caeedb91 100644 --- a/Zotlabs/Access/PermissionLimits.php +++ b/Zotlabs/Access/PermissionLimits.php @@ -10,7 +10,7 @@ class PermissionLimits { $perms = Permissions::Perms(); $limits = array(); foreach($perms as $k => $v) { - if(strstr($k,'view')) + if(strstr($k,'view') || $k === 'post_comments') $limits[$k] = PERMS_PUBLIC; else $limits[$k] = PERMS_SPECIFIC; |