mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
* [Update] 修复浏览器关闭后session不失效的问题 * [Update] 修改一些内容 * [Update] 解决命令执行找不到对象的问题 * [Update] 修改Permission判断 * [Update] 修改session * [Update] 修改创建系统用户时没有public key
15 lines
343 B
Python
15 lines
343 B
Python
from __future__ import unicode_literals
|
|
|
|
from django.conf import settings
|
|
from django.apps import AppConfig
|
|
|
|
|
|
class PermsConfig(AppConfig):
|
|
name = 'perms'
|
|
|
|
def ready(self):
|
|
from . import signals_handler
|
|
if not settings.XPACK_ENABLED:
|
|
settings.ASSETS_PERM_CACHE_ENABLE = False
|
|
return super().ready()
|