Page MenuHomePhabricator

Don't show personalized menu items until users establish a full session
ClosedPublic

Authored by epriestley on Nov 28 2017, 1:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 30 2025, 9:58 AM
Unknown Object (File)
Apr 29 2025, 2:13 AM
Unknown Object (File)
Apr 18 2025, 2:13 PM
Unknown Object (File)
Apr 6 2025, 11:12 AM
Unknown Object (File)
Apr 3 2025, 1:35 PM
Unknown Object (File)
Mar 31 2025, 11:49 AM
Unknown Object (File)
Mar 30 2025, 10:14 AM
Unknown Object (File)
Mar 29 2025, 11:19 AM
Subscribers
None

Details

Summary

Depends on D18792. Fixes T13024. Fixes T89198. Currently, when users are logging in initially (for example, need to enter MFA) we show more menu items than we should.

Notably, we may show some personalized/private account details, like the number of unread notifications (probably not relevant) or a user's saved queries (possibly sensitive). At best these are misleading (they won't work yet) and there's an outside possibility they leak a little bit of private data.

Instead, nuke everything except "Log Out" when users have partial sessions.

Test Plan

Hit a partial session (MFA required, email verification required) and looked at the menu. Only saw "Log Out".

Screen Shot 2017-11-27 at 5.53.49 PM.png (815×1 px, 107 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable