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)
Sat, Jan 25, 7:16 AM
Unknown Object (File)
Tue, Jan 21, 7:07 PM
Unknown Object (File)
Tue, Jan 21, 10:26 AM
Unknown Object (File)
Wed, Jan 8, 4:04 PM
Unknown Object (File)
Tue, Dec 31, 8:47 PM
Unknown Object (File)
Dec 19 2024, 8:00 PM
Unknown Object (File)
Dec 19 2024, 7:26 PM
Unknown Object (File)
Dec 17 2024, 10:47 PM
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