2019-03-04 12:45:57 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
from . import user_permission as uapi
|
2019-09-17 09:46:18 +00:00
|
|
|
from .mixin import UserGroupPermissionMixin
|
2019-03-04 12:45:57 +00:00
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'UserGroupGrantedAssetsApi', 'UserGroupGrantedNodesApi',
|
2019-08-21 12:27:21 +00:00
|
|
|
'UserGroupGrantedNodeAssetsApi', 'UserGroupGrantedNodeChildrenApi',
|
2019-08-31 04:07:03 +00:00
|
|
|
'UserGroupGrantedNodeChildrenAsTreeApi',
|
|
|
|
'UserGroupGrantedNodeChildrenWithAssetsAsTreeApi',
|
2019-08-21 12:27:21 +00:00
|
|
|
'UserGroupGrantedAssetSystemUsersApi',
|
2019-08-31 04:07:03 +00:00
|
|
|
# 'UserGroupGrantedNodeChildrenWithAssetsAsTreeApi',
|
2019-03-04 12:45:57 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
class UserGroupGrantedAssetsApi(UserGroupPermissionMixin, uapi.UserGrantedAssetsApi):
|
|
|
|
pass
|
2019-07-12 10:31:55 +00:00
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
class UserGroupGrantedNodeAssetsApi(UserGroupPermissionMixin, uapi.UserGrantedNodeAssetsApi):
|
|
|
|
pass
|
2019-03-04 12:45:57 +00:00
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
class UserGroupGrantedNodesApi(UserGroupPermissionMixin, uapi.UserGrantedNodesApi):
|
|
|
|
pass
|
2019-03-04 12:45:57 +00:00
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
class UserGroupGrantedNodeChildrenApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenApi):
|
|
|
|
pass
|
2019-03-04 12:45:57 +00:00
|
|
|
|
|
|
|
|
2019-08-21 12:27:21 +00:00
|
|
|
class UserGroupGrantedNodeChildrenAsTreeApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenAsTreeApi):
|
|
|
|
pass
|
2019-03-04 12:45:57 +00:00
|
|
|
|
|
|
|
|
2019-08-31 04:07:03 +00:00
|
|
|
class UserGroupGrantedNodeChildrenWithAssetsAsTreeApi(UserGroupPermissionMixin, uapi.UserGrantedNodeChildrenWithAssetsAsTreeApi):
|
2019-08-21 12:27:21 +00:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class UserGroupGrantedAssetSystemUsersApi(UserGroupPermissionMixin, uapi.UserGrantedAssetSystemUsersApi):
|
|
|
|
pass
|
|
|
|
|