1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 17:22:42 +01:00
phorge-phorge/src/aphront/console
epriestley d66972c9f2 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.

Reviewers: btrahan, chad

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3675

Differential Revision: https://secure.phabricator.com/D7364
2013-10-21 17:00:21 -07:00
..
plugin Tie application event listeners to the applications they listen for 2013-10-21 17:00:21 -07:00
DarkConsoleController.php Fix controller-level access rules 2013-10-03 19:05:47 -07:00
DarkConsoleCore.php Fix more JavelinView example stuff 2013-07-16 13:46:49 -07:00
DarkConsoleDataController.php Fix controller-level access rules 2013-10-03 19:05:47 -07:00