1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/project
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
..
application Use sprites for (nearly) all application icons 2012-08-14 14:23:55 -07:00
constants Add basic support for editing project policies 2012-08-15 10:44:58 -07:00
controller Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
editor Add a bunch of policy tests for projects 2012-08-16 12:45:55 -07:00
exception Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
query Allow projects to be set as policies 2012-09-13 10:15:08 -07:00
storage Add View, Edit and Join policies to PhabricatorProject 2012-08-11 07:05:01 -07:00