Page MenuHomePhabricator

Drop all sessions and email users when deploying Library Bundle
Closed, ResolvedPublic

Description

We're initialising Library Bundle eligibility checks on user login, so as we deploy the big Proxy/Bundle code changes, we'll want a migration or somesuch that also drops all active sessions, forcing users to log back in.

Event Timeline

We agreed it would make sense to have one 'proxy-launch' management command which was capable of both sending the announcement email and also dropping active sessions. The command should also clear out any existing 30-day edit count data to refresh the grace period.

I did the session clearing as a migration, as we also talked about doing it that way?
Will add the 30 day edit count reset to the management command once I've rebased staging.
I could also certainly move the session clearing code there as well.

jsn.sherman renamed this task from Drop all sessions when deploying Library Bundle to Drop all sessions and email users when deploying Library Bundle.May 8 2020, 7:31 PM