1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00
phorge-phorge/src/applications/people
epriestley 4f8340c05f Restore the "Log In" menubar action
Summary:
See <https://discourse.phabricator-community.org/t/activation-link-in-welcome-mail-only-works-if-new-user-isnt-semi-logged-in/740/7>.

In T13024, I rewrote the main menu bar to hide potentially sensitive items (like notification and message counts and saved search filters) until users fully log in.

However, the "Log In" item got caught in this too. For clarity, rename `shouldAllowPartialSessions()` to `shouldRequireFullSession()` (since logged-out users don't have any session at all, so it would be a bit misleading to say that "Log In" "allows" a partial session). Then let "Log In" work again for logged-out users.

(In most cases, users are prompted to log in when they take an action which requires them to be logged in -- like creating or editing an object, or adding comments -- so this item doesn't really need to exist. However, it aligns better with user expectations in many cases to have it present, and some reasonable operations like "Check if I have notifications/messages" don't have an obvious thing to click otherwise.)

Test Plan: Viewed site in an incognito window, saw "Log In" button again. Browsed normally, saw normal menu.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18818
2017-12-05 12:13:10 -08:00
..
application Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
cache Remove "participationStatus" from ConpherenceParticipant 2017-04-19 13:58:42 -07:00
capability People - refine permissions on creating new users 2015-02-05 16:47:09 -08:00
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move "wild" config types to new code 2017-06-27 12:34:56 -07:00
controller Update people edit pages UI 2017-09-07 12:47:24 -07:00
customfield Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
editor When a user changes to a verified primary address, mark their account as verified 2017-04-24 10:24:21 -07:00
engine Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
engineextension Restore the "Log In" menubar action 2017-12-05 12:13:10 -08:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
guidance Add a bunch of Phacility-specific code to the upstream, thinly veiled as generic code 2016-11-15 09:11:22 -08:00
icon Add additional icons for User Profiles 2016-01-31 20:09:06 +00:00
lipsum Make bin/lipsum generate hanldle generator keys and arguments more clearly 2017-02-27 09:09:28 -08:00
management Auto-generate profile images for sad psyducks 2017-03-05 08:25:02 -08:00
markup Fix spelling 2017-10-09 10:48:04 -07:00
menuitem Add Revisions to User Profiles 2017-05-21 09:24:37 -07:00
phid Use grey dots for disabled users, even if a user is also unverified 2017-04-30 13:10:00 -07:00
policyrule Move some files around 2015-11-17 06:26:13 +11:00
query Fix spelling 2017-10-09 10:48:04 -07:00
search Reduce the amount of boilerplate that implementing FerretInterface requires 2017-09-07 13:23:31 -07:00
searchfield Add basic typechecking support to Conduit 2015-12-14 04:21:39 -08:00
storage Fix spelling 2017-10-09 10:48:04 -07:00
typeahead Separate sever-side typeahead queries into "prefix" and "content" phases 2016-11-10 08:54:59 -08:00
view Search and Replace calls to setShade 2017-05-22 18:59:53 +00:00