1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 08:20:57 +01:00
phorge-phorge/src/applications/drydock
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
blueprint Mark some strings for translation 2015-06-09 23:06:52 +10:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
constants phtize all the things 2015-05-22 21:16:39 +10:00
controller Linter fixes 2015-06-02 22:14:01 +10:00
customfield Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
editor Modularize mail tags 2014-08-12 12:28:41 -07:00
interface 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
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Make buildWhereClause() a method of AphrontCursorPagedPolicyAwareQuery 2015-04-20 10:06:09 -07:00
storage phtize all the things 2015-05-22 21:16:39 +10:00
util Restructure Drydock so that blueprints are instances in the DB 2013-12-03 11:09:07 +11:00
view Mark some strings for translation 2015-06-09 23:06:52 +10:00
worker phtize all the things 2015-05-22 21:16:39 +10:00