Last Updated: 2024-03-02
In Project S, Y reported that
globalState().stationOperator was true for
their non-station-operator personal account. When I investigated, this occured
because she had logged in as a station operator previously in the emulator, which
set this boolean in
globalState. When she later logged in as
boolean was not cleared.
The general solution is to clear reset all global state on logout if possible. Or if not, to clear all credential related stuff.