What the best practices with regard to handling multiple users on the same machine? Is it simply a case of clearing the model data on logout using
The obvious issue here is that the user might not actually logout, they might just leave their machine, so it’s probably better to do this on login, before anything is fetched from the store.
There are actually a couple of suggestions in this Ember Igniter post:
A quick search will return many different workarounds, like iterating over the defined models and unloading by type, resetting the app with App.reset() or going nuclear and destroying the whole store.
So I’d be interested to hear the steps other people are taking here as it’s an important point.