If one starts the extension with one user and later in the same browsing session tries to use the extension from another user on a document that the first user doesn't have access to, an access denied error happens.
It should be possible both detect this scenario, and to clear the session so that the active user is always used.
If one starts the extension with one user and later in the same browsing session tries to use the extension from another user on a document that the first user doesn't have access to, an access denied error happens.
It should be possible both detect this scenario, and to clear the session so that the active user is always used.