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

Bug: Home page does not load if a user has no permissions to data #10212

Closed
vitorhirota opened this issue Jun 18, 2019 · 2 comments · Fixed by #10250
Closed

Bug: Home page does not load if a user has no permissions to data #10212

vitorhirota opened this issue Jun 18, 2019 · 2 comments · Fixed by #10250
Assignees
Labels
Administration/Permissions Collection or Data permissions Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Type:Bug Product defects
Milestone

Comments

@vitorhirota
Copy link

Steps to reproduce:

  • For a given group, revoke access to all databases
  • Access metabase home page, eg, http://localhost:3000
  • Page will show the header, and the loading gif indefinitely

Workaround:

Give access to a single table, home page works as expected.

Aditional notes

Just upgrade from 0.31.x, permissions to only collections and no databases worked fine.

System configuration / info

  • Your browser and the version: Chrome 74
  • Your operating system: Windows 10
  • Your databases: Postgres, Oracle
  • Metabase version: 0.32.9
  • Metabase hosting environment: Ubuntu
  • Metabase internal database: Postgres
@mazameli mazameli added Type:Bug Product defects Administration/Permissions Collection or Data permissions Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness labels Jun 18, 2019
@flamber
Copy link
Contributor

flamber commented Jun 18, 2019

This is generating the same error as #10191 - and a couple of extra ones.

Error: Minified React error #143
TypeError: e.parentNode is null
Unhandled promise rejection TypeError: "n is null"
Unhandled promise rejection TypeError: "a[0] is undefined"

@salsakran
Copy link
Contributor

Hello all, this is fixed in 0.32.10 which just went out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration/Permissions Collection or Data permissions Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Type:Bug Product defects
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants