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
F15471595: D7364.diff
Sat, Apr 5, 6:14 AM
F15458215: D7364.id16609.diff
Sun, Mar 30, 9:48 PM
F15387775: D7364.id16580.diff
Mar 15 2025, 2:53 AM
F15368171: D7364.id16580.diff
Mar 12 2025, 12:31 AM
Unknown Object (File)
Feb 27 2025, 3:19 AM
Unknown Object (File)
Feb 27 2025, 3:19 AM
Unknown Object (File)
Feb 27 2025, 3:19 AM
Unknown Object (File)
Feb 27 2025, 3: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

Lint
Lint Skipped
Unit
Tests Skipped