mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
2e0361bd98
Summary: Ref T6013. Currently, when we create a thumbnail, it gets its own (default) file visibility policy. In particular, this causes the issue in T6013: thumbnails get "all users" visibility, which does not include logged-out users. Instead, a thumbnail should just have the same visibility as the original file does. Enforce this: - When loading thumbnails, reject thumbnails with invisible originals. - When filtering thumbnails, permit thumbnails with visible originals. Test Plan: As a logged-out user, thumbnails are now visible when the original files are attached to visible objects. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T6013 Differential Revision: https://secure.phabricator.com/D10410 |
||
---|---|---|
.. | ||
PhabricatorFileBundleLoader.php | ||
PhabricatorFileQuery.php | ||
PhabricatorFileSearchEngine.php | ||
PhabricatorFileTransactionQuery.php |