Homec4science

Implement PolicyAwareQuery for triggers

Authored by epriestley <git@epriestley.com> on Jan 20 2015, 22:32.

Description

Implement PolicyAwareQuery for triggers

Summary:
Ref T6881. I tried to cheat here by not implementing this, but we need it for destroying triggers directly with bin/remove destroy, since that needs to load them by PHID.

So, cheat slightly less. Implement PolicyAware but not CursorPagedPolicyAware.

Test Plan:

  • Used bin/remove destroy to destroy a trigger by PHID.
  • Browsed daemon console.
  • Ran trigger daemon.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6881

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

Details

Committed
epriestley <git@epriestley.com>Jan 20 2015, 22:32
Pushed
aubortJan 31 2017, 17:16
Parents
rPH934df0e735f5: Add bin/trigger, for testing event triggers
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH77bcbed9f98e: Implement PolicyAwareQuery for triggers (authored by epriestley <git@epriestley.com>).Jan 20 2015, 22:32