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

Initial user token has DB-wide access, but only appears under 1st org in the UI #405

Open
danxmoran opened this issue Dec 7, 2020 · 0 comments
Labels

Comments

@danxmoran
Copy link
Contributor

danxmoran commented Dec 7, 2020

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

  1. Set up a fresh OSS 2.x instance in the UI, creating a baseline org_a and superuser
    Screen Shot 2020-12-07 at 2 11 05 PM
  2. Create a 2nd org org_b in the UI
    Screen Shot 2020-12-07 at 2 11 28 PM
  3. Navigate to Data -> Tokens under org_a
    Screen Shot 2020-12-07 at 2 11 44 PM
  4. Navigate to Data -> Tokens under org_b (and refresh the page, see Token list isn't cleared when switching between orgs #406)
    Screen Shot 2020-12-07 at 2 11 58 PM

Expected behavior:
Either:

  • superuser's token appears under both org_a and org_b, because it has all-access power to both
  • superuser's token appears under neither org_a nor org_b, because it's a special type of token created via the onboarding process

Actual behavior:
superuser's token appears under org_a, but not org_b. This mismatch led a user to believe cross-org auth was broken when they were able to use a token from org_a to write data into a bucket under org_b (see influxdata/idpe#9372)

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

No branches or pull requests

2 participants