Published Dashboard without charts can only be reached by owners #28515
Labels
dashboard:error
Related to Dashboard errors
dashboard:security:access
Related to the security access of the Dashboard
Bug description
We've are communicating templates in our company through dashboards without charts, but already with text boxes, tabs, etc. But we can't spread adoption because we need to always add new owners.
To bypass this we are leaving a empty chart so the dashboard becomes available
It seems to me it's because of the gamma role setup and the lack of chart, the dash is blocked, but not quite.
How to reproduce the bug
Version 3.0.2
You'll need at least 2 users with gamma and a single db connection should do. Both of them would have access to this same DB
Looking at the logs you should find this error
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1799, in dispatch_request
return werkzeug.utils.send_from_directory( # type: ignore[return-value]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1823, in full_dispatch_request
raise NotFound()
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
...
select 1
dataset.Screenshots/recordings
No response
Superset version
3.0.2
Python version
3.9
Node version
16
Browser
Chrome
Additional context
the issue occured on all browsers
Checklist
The text was updated successfully, but these errors were encountered: