mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-06 11:36:32 +00:00
fix: 修复ticketsession (#7857)
Co-authored-by: feng626 <1304903146@qq.com>
This commit is contained in:
parent
e1a238b778
commit
a18b9bad0a
@ -17,6 +17,7 @@ class TicketSessionRelationViewSet(CreateModelMixin, JMSGenericViewSet):
|
||||
|
||||
# Todo: 放到上面的 ViewSet 中
|
||||
class TicketSessionApi(views.APIView):
|
||||
perm_model = TicketSession
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
with tmp_to_root_org():
|
||||
|
Loading…
Reference in New Issue
Block a user