Skip to content

Commit 966b75b

Browse files
committed
feat(doc.views): SchemaView 의 접근 권한을 IsDebug 로 제한
1 parent 19b131b commit 966b75b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎app/doc/views.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def has_permission(self, request, view):
1414

1515
SchemaView = get_schema_view(
1616
info=settings.OPEN_API_INFO,
17+
permission_classes=[IsDebug],
1718
public=True,
1819
)
1920

0 commit comments

Comments
 (0)