Commit aa3bc7b5 authored by ibuler's avatar ibuler

[Update] 权限修改

parent 53473488
...@@ -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',
......
...@@ -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>
......
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