Skip to content

Commit 8a9659d

Browse files
committed
Fix #32: allow regular users to get API schema
1 parent 2303fb1 commit 8a9659d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
"TITLE": "threatr API",
301301
"DESCRIPTION": "Documentation of API endpoints of threatr",
302302
"VERSION": "1.0.0",
303-
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAdminUser"],
303+
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAuthenticated"],
304304
}
305305
# Worker configuration
306306
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)