1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/paste
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
..
application Add a "template" parameter to application default policies 2015-06-11 13:25:30 -07:00
capability Paste: Add edit policy 2014-12-31 08:24:57 -08:00
conduit phtize all the things 2015-05-22 21:16:39 +10:00
config Fully remove all the public-create-mail settings 2015-05-20 14:21:33 -07:00
controller Improve some Spaces behaviors 2015-06-10 15:52:18 -07:00
editor Move all ApplicationTransaction publishing to daemons 2015-06-03 18:59:29 -07:00
lipsum Minor formatting changes 2014-10-08 08:39:49 +11:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Support ordering in SearchField 2015-06-08 12:21:48 -07:00
remarkup Add some missing type hints 2015-05-05 07:33:00 +10:00
storage Support Spaces in ApplicationEmail 2015-06-11 10:23:56 -07:00
view Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00