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

when user doesn't have permission to access resource, http code 400 is returned #13060

Closed
2 of 3 tasks
duynguyenhoang opened this issue Feb 10, 2021 · 1 comment
Closed
2 of 3 tasks
Labels
global:error Related to global errors affecting the platform

Comments

@duynguyenhoang
Copy link
Contributor

Currently when user doesn't have permission to access resource, for example save a chart, the http code 400 is returned.

Expected results

http code 403 is returned.

Actual results

http code 400 is returned.

Environment

  • superset version: master
  • python version: 3.8
  • node.js version: v12.19.0

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • 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.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

@duynguyenhoang duynguyenhoang added the #bug Bug report label Feb 10, 2021
@junlincc junlincc added global:error Related to global errors affecting the platform and removed #bug Bug report labels Feb 11, 2021
@zuzana-vej
Copy link
Contributor

based on the linked PR this was resolved a while back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
global:error Related to global errors affecting the platform
Projects
None yet
Development

No branches or pull requests

3 participants