1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-04 03:41:01 +01:00
phorge-phorge/src/applications/files/query
epriestley 472be5e26e Provide an attached-to-visible-object policy exception for files
Summary:
Ref T603. This uses the existing edges (from Conpherence) to record that a file is attached to an object, and uses those edges to create a policy exception: if you can view an attached object, you can view a file.

I'm going to combine this with restrictive defaults to satisfy the other half of the equation (that files you attach to a conpherence usually shouldn't be public by default).

Test Plan:
  - Loaded `/files/`.
  - Uploaded a file to a Conpherence, looked at it in Files, saw the attachment.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7182
2013-10-01 08:43:34 -07:00
..
PhabricatorFileBundleLoader.php Viewerize ArcBundle file loading callbacks 2013-09-30 12:21:33 -07:00
PhabricatorFileQuery.php Provide an attached-to-visible-object policy exception for files 2013-10-01 08:43:34 -07:00
PhabricatorFileSearchEngine.php Kill PhabricatorObjectDataHandle 2013-09-11 12:27:28 -07:00
PhabricatorFileTransactionQuery.php File - add transactions and editor 2013-09-05 13:11:02 -07:00