mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 17:30:30 +00:00
fix: koko press r dont refresh user perm-nodes
This commit is contained in:
@@ -9,6 +9,7 @@ from common.utils import get_logger, lazyproperty
|
||||
from perms import serializers
|
||||
from perms.utils import UserPermNodeUtil
|
||||
from .mixin import SelfOrPKUserMixin
|
||||
from .tree.mixin import RebuildTreeMixin
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
@@ -18,7 +19,7 @@ __all__ = [
|
||||
]
|
||||
|
||||
|
||||
class BaseUserPermedNodesApi(SelfOrPKUserMixin, ListAPIView):
|
||||
class BaseUserPermedNodesApi(SelfOrPKUserMixin, RebuildTreeMixin, ListAPIView):
|
||||
serializer_class = serializers.NodePermedSerializer
|
||||
|
||||
def get_queryset(self):
|
||||
|
Reference in New Issue
Block a user