also disable uploading in comments if the channel permissionlimits for view_storage aren't PERMS_PUBLIC.
This commit is contained in:
parent
988028577b
commit
34b38f06e0
@ -581,6 +581,9 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
|
|||||||
|| $owner_channel['channel_deny_cid'] || $owner_channel['channel_deny_gid']) {
|
|| $owner_channel['channel_deny_cid'] || $owner_channel['channel_deny_gid']) {
|
||||||
$uploading = false;
|
$uploading = false;
|
||||||
}
|
}
|
||||||
|
if(\Zotlabs\Access\PermissionLimits::Get($profile_owner,'view_storage') !== PERMS_PUBLIC) {
|
||||||
|
$uploading = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$uploading = false;
|
$uploading = false;
|
||||||
|
Reference in New Issue
Block a user