Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Ensure that the Cody Dashboard works well when changing accounts #63377

Open
vdavid opened this issue Jun 20, 2024 · 0 comments
Open

Ensure that the Cody Dashboard works well when changing accounts #63377

vdavid opened this issue Jun 20, 2024 · 0 comments

Comments

@vdavid
Copy link
Contributor

vdavid commented Jun 20, 2024

After logging out and logging in as a different user, @chrsmith saw the following UI:

  • The subscription is on the Free plan, and therefore we show the “Upgrade” banner.
  • The subscription is on the Pro plan, and so the Invite co-workers button is displayed

Something is busted here. And Chris guessed that it has to do with cache invalidation and having the wrong subscription data locally. (Since after logging in as another user, it should entirely be invalidated.)

In Chris's situation, he logged in as the Sourcegraph instance’s site admin. So perhaps that’s the root cause of the bug. (If so, we can ignore this, since that’s not a scenario we care about.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant