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

Plain error message when visiting a dashboard via permalink without permissions #26849

Closed
2 of 3 tasks
geido opened this issue Jan 29, 2024 · 0 comments · Fixed by #27132
Closed
2 of 3 tasks

Plain error message when visiting a dashboard via permalink without permissions #26849

geido opened this issue Jan 29, 2024 · 0 comments · Fixed by #27132
Assignees
Labels
dashboard:error Related to Dashboard errors dashboard Namespace | Anything related to the Dashboard

Comments

@geido
Copy link
Member

geido commented Jan 29, 2024

Bug description

When visiting a dashboard via permalink without permissions, a plain error message will be displayed on screen.

How to reproduce the bug

  1. Copy the permalink of a dashboard via the "Share dashboard" option
  2. Visit the dashboard with a user without permissions
  3. The error will show on screen
  4. A redirection is expected or a proper error message via UI means

Screenshots/recordings

Screenshot 2024-01-29 at 13 25 35

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@geido geido added dashboard:error Related to Dashboard errors dashboard Namespace | Anything related to the Dashboard labels Jan 29, 2024
@michael-s-molina michael-s-molina self-assigned this Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard:error Related to Dashboard errors dashboard Namespace | Anything related to the Dashboard
Projects
None yet
2 participants