HomePhorge

Improve PolicyFilter and PolicyQuery

Description

Improve PolicyFilter and PolicyQuery

Summary:

  • Allow PolicyQuery to require specific sets of capabilities other than "CAN_VIEW", like edit, etc. The default set is "view".
  • Add some convenience methods to PolicyFilter to test for capabilities.

Test Plan: Viewed pastes, projects, etc. Used other stuff in future diff.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T603

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

Details

Provenance
epriestleyAuthored on Aug 11 2012, 7:02 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP62b3e4aea355: Remove a check for closing revisions
Branches
Unknown
Tags
Unknown

Event Timeline