修复应用上传超级签检测问题

pull/26/merge
isummer 2 years ago
parent 525ec097d7
commit 79037d5248
  1. 4
      fir_ser/xsign/views/appinfo.py

@ -146,4 +146,6 @@ class AppCanSignView(APIView):
authentication_classes = [ExpiringTokenAuthentication, ]
def get(self, request):
return ApiResponse(data={'sign': True})
if check_super_sign_permission(request.user):
return ApiResponse(data={'sign': True})
return ApiResponse(data={'sign': False})

Loading…
Cancel
Save