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.
45 lines
1.2 KiB
45 lines
1.2 KiB
# -*- coding: utf-8 -*-
|
|
#
|
|
|
|
|
|
from . import user_permission as uapi
|
|
from .mixin import UserGroupPermissionMixin
|
|
|
|
__all__ = [
|
|
'UserGroupGrantedAssetsApi', 'UserGroupGrantedNodesApi',
|
|
'UserGroupGrantedNodeAssetsApi', 'UserGroupGrantedNodeChildrenApi',
|
|
'UserGroupGrantedNodeChildrenAsTreeApi',
|
|
'UserGroupGrantedNodeChildrenWithAssetsAsTreeApi',
|
|
'UserGroupGrantedAssetSystemUsersApi',
|
|
# 'UserGroupGrantedNodeChildrenWithAssetsAsTreeApi',
|
|
]
|
|
|
|
|
|
class UserGroupGrantedAssetsApi(UserGroupPermissionMixin, uapi.UserGrantedAssetsApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedNodeAssetsApi(UserGroupPermissionMixin, uapi.UserGrantedNodeAssetsApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedNodesApi(UserGroupPermissionMixin, uapi.UserGrantedNodesApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedNodeChildrenApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedNodeChildrenAsTreeApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenAsTreeApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedNodeChildrenWithAssetsAsTreeApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenWithAssetsAsTreeApi):
|
|
pass
|
|
|
|
|
|
class UserGroupGrantedAssetSystemUsersApi(UserGroupPermissionMixin, uapi.UserGrantedAssetSystemUsersApi):
|
|
pass
|
|
|