Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant