mirror of https://github.com/jumpserver/jumpserver
parent
e1a238b778
commit
a18b9bad0a
|
@ -17,6 +17,7 @@ class TicketSessionRelationViewSet(CreateModelMixin, JMSGenericViewSet):
|
||||||
|
|
||||||
# Todo: 放到上面的 ViewSet 中
|
# Todo: 放到上面的 ViewSet 中
|
||||||
class TicketSessionApi(views.APIView):
|
class TicketSessionApi(views.APIView):
|
||||||
|
perm_model = TicketSession
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
with tmp_to_root_org():
|
with tmp_to_root_org():
|
||||||
|
|
Loading…
Reference in New Issue