mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
559 B
18 lines
559 B
"""
|
|
jumpserver.__app__.hands.py
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
This app depends other apps api, function .. should be import or write mack here.
|
|
|
|
Other module of this app shouldn't connect with other app.
|
|
|
|
:copyright: (c) 2014-2016 by Jumpserver Team.
|
|
:license: GPL v2, see LICENSE for more details.
|
|
"""
|
|
|
|
from applications.models import Terminal
|
|
from audits.tasks import write_login_log_async
|
|
from users.models import User
|
|
# from perms.models import AssetPermission
|
|
# from perms.utils import get_user_granted_assets, get_user_granted_asset_groups
|