diff options
author | friendica <info@friendica.com> | 2014-02-18 16:59:31 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-18 16:59:31 -0800 |
commit | 5747e20e502cd4504aef4371b30631265579e81c (patch) | |
tree | ced1931f1dd3b4f9801e32b1900bb804b7a5a5fa /mod/item.php | |
parent | 7d4916ec714d834db3493c2fc12e76b0ffdb26b2 (diff) | |
download | volse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.tar.gz volse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.tar.bz2 volse-hubzilla-5747e20e502cd4504aef4371b30631265579e81c.zip |
some more snakebite and fix up include/account - forgot about that inline array stuff
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php index fa7720791..dc005bb20 100644 --- a/mod/item.php +++ b/mod/item.php @@ -453,6 +453,16 @@ function item_post(&$a) { * the post and we should keep it private. If it's encrypted we have no way of knowing * so we'll set the permissions regardless and realise that the media may not be * referenced in the post. + * + * What is preventing us from being able to upload photos into comments is dealing with + * the photo and attachment permissions, since we don't always know who was in the + * distribution for the top level post. + * + * We might be able to provide this functionality with a lot of fiddling: + * - if the top level post is public (make the photo public) + * - if the top level post was written by us or a wall post that belongs to us (match the top level post) + * - if the top level post has privacy mentions, add those to the permissions. + * - otherwise disallow the photo *or* make the photo public. This is the part that gets messy. */ if(! $preview) { |