1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 07:42:40 +01:00
phorge-phorge/src/applications/files
epriestley 98bf001a58 Add viewPolicy and attachedToObjectPHID to PhabricatorFile
Summary:
Ref T603. Principally, I want to implement the rule "when you upload a file to an object, users must be able to see the object in order to see the file", since I think this is strongly in line with user expectation. For example, if you attach a file to a Conpherence, it should only be visible to members of that thread.

This adds storage for policies, but doesn't do anything interesting with it yet.

Test Plan: Ran `bin/storage upgrade`.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7175
2013-10-01 08:45:18 -07:00
..
application File - add transactions and editor 2013-09-05 13:11:02 -07:00
conduit Make most file reads policy-aware 2013-09-30 09:38:13 -07:00
config Support audio files with HTML5 <audio /> 2013-09-27 10:51:25 -07:00
controller Provide an attached-to-visible-object policy exception for files 2013-10-01 08:43:34 -07:00
editor Add support for more granular sending of email in application transactions 2013-09-13 15:08:17 -07:00
engine Muck around with Diviner method documentation display 2013-09-08 09:15:22 -07:00
engineselector Delete license headers from files 2012-11-05 11:16:51 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
lipsum Made Changes to Mock and File generation after pushing some methods to superclass 2013-05-06 13:32:01 -07:00
mail File - add transactions and editor 2013-09-05 13:11:02 -07:00
management Convert bin/files to ObjectQuery 2013-09-30 12:23:18 -07:00
phid Policy - introduce parentQuery and pass around policy configuration from parent to child 2013-09-11 12:19:34 -07:00
query Provide an attached-to-visible-object policy exception for files 2013-10-01 08:43:34 -07:00
remarkup Make most file reads policy-aware 2013-09-30 09:38:13 -07:00
storage Add viewPolicy and attachedToObjectPHID to PhabricatorFile 2013-10-01 08:45:18 -07:00
view Fix file upload redirect URI 2013-05-31 14:35:25 -07:00
PhabricatorImageTransformer.php PNG thumbnail compression 2013-09-11 09:31:28 -07:00