mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue