Page MenuHomePhabricator

Tie application event listeners to the applications they listen for
ClosedPublic

Authored by epriestley on Oct 19 2013, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 5:51 AM
Unknown Object (File)
Mon, Dec 9, 4:18 AM
Unknown Object (File)
Mon, Dec 9, 4:18 AM
Unknown Object (File)
Mon, Dec 9, 4:18 AM
Unknown Object (File)
Mon, Dec 9, 4:18 AM
Unknown Object (File)
Sat, Dec 7, 3:10 PM
Unknown Object (File)
Fri, Nov 29, 11:17 PM
Unknown Object (File)
Fri, Nov 29, 6:17 AM
Subscribers

Details

Reviewers
btrahan
chad
Maniphest Tasks
Restricted Maniphest Task
Commits
Restricted Diffusion Commit
rPd66972c9f295: Tie application event listeners to the applications they listen for
Summary

Ref T3675. Some of these listeners shouldn't do their thing if the viewer doesn't have access to an application (for example, users without access to Differential should not be able to "Edit Tasks"). Set the stage for that:

  • Introduce PhabricatorEventListener, which has an application.
  • Populate this for event listeners installed by applications.
  • Rename the "PeopleMenu" listeners to "ActionMenu" listeners, which better describes their modern behavior.

This doesn't actually change any behaviors.

Test Plan

Viewed Maniphest, Differntial, People.

Diff Detail

Branch
appevent1
Lint
Lint Passed
Unit
Tests Passed