Homec4science

Make PhabricatorPolicyQuery a CursorPagedPolicyAwareQuery

Authored by epriestley <git@epriestley.com> on Oct 14 2013, 21:06.

Description

Make PhabricatorPolicyQuery a CursorPagedPolicyAwareQuery

Summary:
Ref T603. Make these actually implement policy interfaces, so shared infrastructure (like handle loading) works as expected. They don't actually have meaningful policies, and we short circuit all the checks.

(I don't plan to let you set policy controls on policies themselves)

Test Plan: Loaded handles for Policy objects via common infrastructure.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

Differential Revision: https://secure.phabricator.com/D7298

Details

Committed
epriestley <git@epriestley.com>Oct 14 2013, 21:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPH7364a3bedd5d: Add some missing strings for custom policies
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5e5b7576a675: Make PhabricatorPolicyQuery a CursorPagedPolicyAwareQuery (authored by epriestley <git@epriestley.com>).Oct 14 2013, 21:06