Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.web
Commits
c8f5f9c6
Commit
c8f5f9c6
authored
Sep 17, 2019
by
Zohreh MOSTAANI
Browse files
[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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
beat/web/urls.py
View file @
c8f5f9c6
...
...
@@ -56,7 +56,7 @@ schema_view = get_schema_view(
license
=
openapi
.
License
(
name
=
"AGPLv3 License"
),
),
public
=
True
,
permission_classes
=
(
permissions
.
AllowAny
,),
permission_classes
=
(
permissions
.
IsAuthenticated
,),
)
# Views
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment