mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
perf: Admin connection token
This commit is contained in:
@@ -560,7 +560,7 @@ class SuperConnectionTokenViewSet(ConnectionTokenViewSet):
|
||||
return Response({'error': 'not found or expired'}, status=400)
|
||||
|
||||
|
||||
class AdminConnectionTokenViewSet(SuperConnectionTokenViewSet):
|
||||
class AdminConnectionTokenViewSet(ConnectionTokenViewSet):
|
||||
|
||||
def check_permissions(self, request):
|
||||
user = request.user
|
||||
|
Reference in New Issue
Block a user