1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/phid
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
..
controller Set viewer for all handles loaded in controllers 2012-09-04 23:14:26 -07:00
handle Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
storage Fix a comment (see D3140) 2012-08-03 11:47:53 -07:00
PhabricatorObjectHandle.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
PhabricatorPHIDConstants.php Adding Ponder-related files. 2012-08-10 10:44:04 -07:00
utils.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00