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.
|
|
|
|
|
2017-03-31 03:25:25 +00:00
|
|
|
:copyright: (c) 2014-2017 by Jumpserver Team.
|
2016-09-07 12:05:42 +00:00
|
|
|
:license: GPL v2, see LICENSE for more details.
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
2016-09-07 16:40:59 +00:00
|
|
|
from users.utils import AdminUserRequiredMixin
|
2017-12-13 09:21:08 +00:00
|
|
|
from users.permissions import IsAppUser, IsSuperUser, IsValidUser, IsSuperUserOrAppUser
|
2016-09-11 01:50:42 +00:00
|
|
|
from users.models import User, UserGroup
|
2017-04-05 11:09:51 +00:00
|
|
|
from perms.utils import get_user_granted_assets
|
|
|
|
from perms.tasks import push_users
|