HomePhorge

Introduce ReleephProjectQuery

Description

Introduce ReleephProjectQuery

Summary:
Adds a policy-aware query class for selecting Releeph projects. This doesn't really change anything.

  • Make ReleephProject implment PhabricatorPolicyInterface, beginning the long journey to make it policy-aware.
  • Implement ReleephProjectQuery, for querying projects using cursor-based, policy-aware paging.
  • Use it on the list view, so we load only ~100 projects instead of all of them.
  • Tweaked some of the URI routing stuff to make it a little more consistent with common practices.

Ref T2714.

Test Plan:
{F36434}
{F36435}

Reviewers: edward

Reviewed By: edward

CC: aran

Maniphest Tasks: T2714

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

Details

Provenance
epriestleyAuthored on Mar 22 2013, 6:29 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0c2147336ca4: File list now shows only files which are explicitly uploaded
Branches
Unknown
Tags
Unknown

Event Timeline