Commit c8f5f9c6 authored by Zohreh MOSTAANI's avatar Zohreh MOSTAANI

[swagger] changed the permission to access the swagger page only to registered users

parent 87f14b72
Pipeline #33397 passed with stage
in 21 minutes and 8 seconds
...@@ -56,7 +56,7 @@ schema_view = get_schema_view( ...@@ -56,7 +56,7 @@ schema_view = get_schema_view(
license=openapi.License(name="AGPLv3 License"), license=openapi.License(name="AGPLv3 License"),
), ),
public=True, public=True,
permission_classes=(permissions.AllowAny,), permission_classes=(permissions.IsAuthenticated,),
) )
# Views # Views
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment