Using decorator to restrict certain specs if unauthorized
Open
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 525
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm working with the basic_auth example. It works to disable _ALL_ specs if auth fails. I need to hide some specs, and still show other (public) specs. In other words, only _some_ of the specs should be hidden if request is unauthorized. Most likely using the path or 'endpoint' variable to differentiate.
I'm using flask-restful 0.3.6
Any ideas on how to go about this?
Thank you!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.