diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-08 17:22:38 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-08 17:22:38 -0700 |
commit | c37908f344ecbac3ee60e3e36701161a4047d639 (patch) | |
tree | c774912b494ec7d16f3caca568a88db88b0736f1 /Zotlabs/Lib | |
parent | 4011dd18f01d275620b13815573e359c77664e3a (diff) | |
download | volse-hubzilla-c37908f344ecbac3ee60e3e36701161a4047d639.tar.gz volse-hubzilla-c37908f344ecbac3ee60e3e36701161a4047d639.tar.bz2 volse-hubzilla-c37908f344ecbac3ee60e3e36701161a4047d639.zip |
check write_storage permission in /display
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/ThreadStream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadStream.php b/Zotlabs/Lib/ThreadStream.php index d7a898704..436723f8c 100644 --- a/Zotlabs/Lib/ThreadStream.php +++ b/Zotlabs/Lib/ThreadStream.php @@ -68,7 +68,7 @@ class ThreadStream { // pull some trickery which allows us to re-invoke this function afterward // it's an ugly hack so @FIXME $this->writable = perm_is_allowed($this->profile_owner,$ob_hash,'post_comments'); - $this->uploadable = false; + $this->uploadable = perm_is_allowed($this->profile_owner,$ob_hash,'write_storage'); break; case 'page': $this->profile_owner = \App::$profile['uid']; |