Skip to content
Snippets Groups Projects
Commit 7ba02f78 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Create mixin for inheriting default API permissions

Added a viewset mixin which causes the viewset to inherit the default
permissions defined for the API in the settings file, rather than
overwriting them if any permission classes are specified in the
class definition.

This helps to allow global control of unauthenticated access with
a single settings variable (see previous commit).
parent c2187f61
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment