Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
aa3bc7b5
Commit
aa3bc7b5
authored
Aug 07, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 权限修改
parent
53473488
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
settings.py
apps/jumpserver/settings.py
+4
-5
_nav.html
apps/templates/_nav.html
+1
-1
No files found.
apps/jumpserver/settings.py
View file @
aa3bc7b5
...
@@ -261,10 +261,10 @@ LOGGING = {
...
@@ -261,10 +261,10 @@ LOGGING = {
'handlers'
:
[
'console'
,
'file'
],
'handlers'
:
[
'console'
,
'file'
],
'level'
:
"INFO"
,
'level'
:
"INFO"
,
},
},
'django.db'
:
{
#
'django.db': {
'handlers'
:
[
'console'
,
'file'
],
#
'handlers': ['console', 'file'],
'level'
:
'DEBUG'
#
'level': 'DEBUG'
}
#
}
}
}
}
}
...
@@ -322,7 +322,6 @@ REST_FRAMEWORK = {
...
@@ -322,7 +322,6 @@ REST_FRAMEWORK = {
'common.permissions.IsOrgAdmin'
,
'common.permissions.IsOrgAdmin'
,
),
),
'DEFAULT_AUTHENTICATION_CLASSES'
:
(
'DEFAULT_AUTHENTICATION_CLASSES'
:
(
'rest_framework.authentication.BasicAuthentication'
,
'users.authentication.AccessKeyAuthentication'
,
'users.authentication.AccessKeyAuthentication'
,
'users.authentication.AccessTokenAuthentication'
,
'users.authentication.AccessTokenAuthentication'
,
'users.authentication.PrivateTokenAuthentication'
,
'users.authentication.PrivateTokenAuthentication'
,
...
...
apps/templates/_nav.html
View file @
aa3bc7b5
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
{#
<li
id=
"download"
><a
href=
""
>
{% trans 'File download' %}
</a></li>
#}
{#
<li
id=
"download"
><a
href=
""
>
{% trans 'File download' %}
</a></li>
#}
{#
</ul>
#}
{#
</ul>
#}
{#
</li>
#}
{#
</li>
#}
{% if XPACK_
ENABLED
%}
{% if XPACK_
PLUGINS
%}
<li
id=
"xpack"
>
<li
id=
"xpack"
>
<a>
<a>
<i
class=
"fa fa-sitemap"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'XPack' %}
</span><span
class=
"fa arrow"
></span>
<i
class=
"fa fa-sitemap"
style=
"width: 14px"
></i>
<span
class=
"nav-label"
>
{% trans 'XPack' %}
</span><span
class=
"fa arrow"
></span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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