dmunozv04 opened a new issue, #40768:
URL: https://github.com/apache/superset/issues/40768
### Bug description
Enable RBAC, share a dashboard with a role.
Share -> copy permalink
Open that link on a private tab (or log out before)
Error `{"error": "Error: You don't have access to this dashboard."}` instead
of redirecting to the login page.
When using a regular link instead of a permalink, the user is redirected:
#30380
### Screenshots/recordings
Before: `{"error": "Error: You don't have access to this dashboard."}`
After: redirect to login page
### Superset version
master / latest-dev
### Python version
3.11
### Node version
18 or greater
### Browser
Safari
### Additional context
A PR will be provided that fixes this issue: #TBD
### Checklist
- [ ] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]