-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Viewset Docstring Shows in Browsable API Even when Method Return 403 #3216
Comments
Masking that on 401, 403 sounds sensible, yeah. |
Okay, now resolved. I considered adding something similar for the view name, but it wasn't immediately clear to me if that'd be sufficient (eg presumbly we'd still have the breadcrumbs) or neccessarily desirable, but I'd accept an issue on that too, if it came attached with before and after screenshots of the behavior as we'd like to see from it. |
Blast, this was intentional? I almost reported a bug. I kind of depended on the docstrings as publicly available API documentation. Will need to figure something else out. |
The docstring for a viewset shows in the HTML browsable API even when the
GET
method returns 403.The text was updated successfully, but these errors were encountered: