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.
|
|
|
|
|
2018-01-23 04:40:22 +00:00
|
|
|
:copyright: (c) 2014-2018 by Jumpserver Team.
|
2016-09-07 12:05:42 +00:00
|
|
|
:license: GPL v2, see LICENSE for more details.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2018-02-09 03:12:40 +00:00
|
|
|
from common.mixins import AdminUserRequiredMixin
|
|
|
|
from common.permissions import IsAppUser, IsSuperUser, IsValidUser, IsSuperUserOrAppUser
|
2016-09-11 01:50:42 +00:00
|
|
|
from users.models import User, UserGroup
|
2018-02-07 15:25:15 +00:00
|
|
|
from perms.utils import NodePermissionUtil
|