ecamellini opened a new issue #7763: Cannot enable anonymous users to view dashboards URL: https://github.com/apache/incubator-superset/issues/7763 I have a dashboard that I want to share publicly. I followed the related steps from the documentation, also linked in https://github.com/apache/incubator-superset/issues/4102: https://superset.incubator.apache.org/security.html#public Specifically, what I did was: 1. Set `PUBLIC_ROLE_LIKE_GAMMA = True` in `superset_config.py` 2. Added `datasource access` permissions to the `Public` role, for the datasource from where data in the dashboard is retrieved ### Expected results Anonymous (i.e., not logged in) users shall be able to see the dashboard by opening its URL in a web browser. ### Actual results Anonymous (i.e., not logged in) users are not able to see the dashboard by opening its URL in a web browser: they are redirected to the login page showing an `Access Denied` error. I also tried to add some more permissions to the `Public` user (see screenshots) and managed to display the dashboard, but not the charts in it. However I don't think it's the right way to do it, it should work as documented. #### Screenshots Access denied error:  Permissions that I tried to add to `Public`, together with the datasource access:  ### Environment - superset version: built from `master` ### Checklist Make sure these boxes are checked before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
