Browse Source

Omit REST API schema view from permissions enforcement

jeremystretch 5 năm trước cách đây
mục cha
commit
c36b190d5d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      netbox/netbox/urls.py

+ 1 - 0
netbox/netbox/urls.py

@@ -24,6 +24,7 @@ schema_view = get_schema_view(
     openapi_info,
     validators=['flex', 'ssv'],
     public=True,
+    permission_classes=()
 )
 
 _patterns = [