1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 10:52:41 +01:00
phorge-phorge/src/applications/base/controller
epriestley 0fa411083f Show an "approval queue" item on the home page for admins, and sort out menu item visibility
Summary:
  - If you're an administrator and there are users waiting for approval, show a count on the home page.
  - Sort out the `isUserActivated()` access check.
  - Hide all the menu widgets except "Logout" for disabled and unapproved users.
  - Add a "Log In" item.
  - Add a bunch of unit tests.

Test Plan: Ran unit tests, clicked around as unapproved/approved/logged-in/logged-out users.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, chad

Differential Revision: https://secure.phabricator.com/D7574
2013-11-13 11:24:38 -08:00
..
__tests__ Show an "approval queue" item on the home page for admins, and sort out menu item visibility 2013-11-13 11:24:38 -08:00
Phabricator404Controller.php Fix a redirect-on-login issue by allowing logged-out users to view 404 pages 2012-11-21 14:43:35 -08:00
PhabricatorController.php Show an "approval queue" item on the home page for admins, and sort out menu item visibility 2013-11-13 11:24:38 -08:00
PhabricatorRedirectController.php Delete license headers from files 2012-11-05 11:16:51 -08:00