1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/feed
epriestley a1df1f2b70 Allow projects to be set as policies
Summary:
  - Renames `PhabricatorPolicyQuery` to `PhabricatorPolicyAwareQuery` (a query which respects policy settings).
  - Introduces `PhabricatorPolicyQuery`, which loads available policies (e.g., "member of project X").
  - Introduces `PhabricatorPolicy`, which describes a policy.
  - Allows projects to be set as policies.
  - Allows Paste policies to be edited.
  - Covers crazy cases where you make projects depend on themselves or each other because you are a dastardly villan.

Test Plan: Set paste and project policies, including crazy policies like A -> B -> A, A -> A, etc.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D3476
2012-09-13 10:15:08 -07:00
..
builder Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
constants Publish feed stories about commits 2012-06-20 06:03:44 -07:00
controller Minor, restore missing limits from 310cf00fc3 2012-07-03 06:25:03 -07:00
storage Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
story Aggregate Differential notifications 2012-08-22 08:19:38 -07:00
view Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorFeedQuery.php Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
PhabricatorFeedStoryPublisher.php Minor, set default value for subscribedPHIDs to avoid: 2012-08-23 06:41:58 -07:00