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

how to access charts without login? #2743

Closed
X-Mars opened this issue May 10, 2017 · 8 comments
Closed

how to access charts without login? #2743

X-Mars opened this issue May 10, 2017 · 8 comments

Comments

@X-Mars
Copy link

X-Mars commented May 10, 2017

i what to access charts(json) with ajax, but it's must be logged in。

@X-Mars
Copy link
Author

X-Mars commented May 11, 2017

who can help me?

@mistercrunch
Copy link
Member

You can set this flag to true:
https://github.com/airbnb/superset/blob/master/superset/config.py#L127

Then you can add public datasources to the Public role. You can also login programmatically, there are examples of that in the unit tests.

@qq273681448
Copy link

could you tell me how to "add public datasources to the Public role",thanks. @mistercrunch

@qq273681448
Copy link

@michellethomas thanks,I have solved this problem

@youyou098888
Copy link

@qq273681448 Could you please tell me how you achieve "add public datasources to the Public role" ?

@dofine
Copy link

dofine commented Aug 20, 2017

Doesn't seem to work for me.
I believe I have set the flag to True and added datasource to the Public role.
Public role can see the dashboard, but clicking it, the slices in the dashboard says access is denied.
Can you help me plz @qq273681448

@qq273681448
Copy link

@dofine You can read this article,https://juejin.im/post/596702f7f265da6c23289373

@mistercrunch
Copy link
Member

Notice: this issue has been closed because it has been inactive for 245 days. Feel free to comment and request for this issue to be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants