also disable uploading in comments if the channel permissionlimits for view_storage aren't PERMS_PUBLIC.

This commit is contained in:
zotlabs 2017-11-11 12:23:20 -08:00
parent 988028577b
commit 34b38f06e0

View file

@ -581,6 +581,9 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
|| $owner_channel['channel_deny_cid'] || $owner_channel['channel_deny_gid']) {
$uploading = false;
}
if(\Zotlabs\Access\PermissionLimits::Get($profile_owner,'view_storage') !== PERMS_PUBLIC) {
$uploading = false;
}
}
else {
$uploading = false;