django-rest-framework-docs
django-rest-framework-docs copied to clipboard
Add permissions
It would be great if we could hide the API behind a login that only allows superusers to login. I'm up for creating a PR. This functionality could be enabled via the settings:
REST_FRAMEWORK_DOCS = {
'PERMISSIONS_REQUIRED': True # Set the default to True perhaps?
}
What do you think?
Would it not be the most intuitive solution for DRFDOCS to adhere to default permissions of DRF?