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
F15387775: D7364.id16580.diff
Sat, Mar 15, 2:53 AM
F15368171: D7364.id16580.diff
Wed, Mar 12, 12:31 AM
Unknown Object (File)
Thu, Feb 27, 3:19 AM
Unknown Object (File)
Thu, Feb 27, 3:19 AM
Unknown Object (File)
Thu, Feb 27, 3:19 AM
Unknown Object (File)
Thu, Feb 27, 3:19 AM
Unknown Object (File)
Mon, Feb 24, 2:58 AM
Unknown Object (File)
Feb 5 2025, 7:33 PM
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