Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
epriestley
committed
Aug 11, 2012
1 parent
62b3e4a
commit 6cbc67e
Showing
2 changed files
with
135 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters