mirror of https://github.com/jumpserver/jumpserver
[Update] 权限修改
parent
534734881c
commit
aa3bc7b53a
|
@ -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 = {
|
||||||
'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',
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue