1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 04:02:43 +01:00
phorge-phorge/src/applications/files
epriestley 52f8756c3c Add a "template" parameter to application default policies
Summary:
Ref T5681. Ref T6860. This doesn't do anything interesting on its own, just makes the next diff smaller.

In the next diff, policies become aware of the types of objects they're acting on. We need to specify which object type all the "Default View/Edit" settings are for so they get the right rules.

For example, a rule like "Allow task author" is OK for "View Policy" on a task, and also OK for "Default View Policy" on ManiphestApplication. But it's not OK for "Can Create Tasks" on ManiphestApplication.

So annotate all the "template"/"default" policies with their types. The next diff will use these to let you select appropriate rules for the given object type.

Test Plan:
  - Used `grep` to find these.
  - This change has no effect.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5681, T6860

Differential Revision: https://secure.phabricator.com/D13251
2015-06-11 13:25:30 -07:00
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Add a "template" parameter to application default policies 2015-06-11 13:25:30 -07:00
applicationpanel Modernize search engine selection 2015-05-20 06:59:59 +10:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit phtize all the things 2015-05-22 21:16:39 +10:00
config phtize all the things 2015-05-22 21:16:39 +10:00
controller phtize all the things 2015-05-22 21:16:39 +10:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
engine phtize all the things 2015-05-22 21:16:39 +10:00
exception phtize all the things 2015-05-22 21:16:39 +10:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
lipsum Fix some linter violations 2015-01-03 09:11:41 +11:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management phtize all the things 2015-05-22 21:16:39 +10:00
markup phtize all the things 2015-05-22 21:16:39 +10:00
phid Make file handles have "/Fxxx" as the URI 2014-08-21 12:21:10 -07:00
query Don't load attached files for profile images 2015-06-08 15:39:47 -07:00
storage phtize all the things 2015-05-22 21:16:39 +10:00
transform Implement a user profile image cache 2015-05-13 11:38:51 -07:00
view phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorImageTransformer.php Convert inline profile image transforms to new transformations 2015-05-13 11:38:46 -07:00