jumpserver/apps/users/hands.py

16 lines
474 B
Python
Raw Normal View History

2016-09-07 12:05:42 +00:00
"""
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.
"""
2016-10-19 11:30:55 +00:00
from terminal.models import Terminal
2016-09-16 17:04:52 +00:00
from perms.models import AssetPermission
2016-09-17 07:20:33 +00:00
from perms.utils import get_user_granted_assets, get_user_granted_asset_groups