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)
Fri, Sep 20, 12:15 AM
Unknown Object (File)
Fri, Sep 20, 12:15 AM
Unknown Object (File)
Fri, Sep 20, 12:15 AM
Unknown Object (File)
Fri, Sep 20, 12:15 AM
Unknown Object (File)
Aug 16 2024, 7:09 AM
Unknown Object (File)
Aug 16 2024, 2:44 AM
Unknown Object (File)
Aug 10 2024, 3:44 AM
Unknown Object (File)
Aug 7 2024, 5:19 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