|
|
@ -108,10 +108,7 @@ class AssetUserViewSet(IDInCacheFilterMixin, BulkModelViewSet):
|
|
|
|
class AssetUserExportViewSet(AssetUserViewSet):
|
|
|
|
class AssetUserExportViewSet(AssetUserViewSet):
|
|
|
|
serializer_class = serializers.AssetUserExportSerializer
|
|
|
|
serializer_class = serializers.AssetUserExportSerializer
|
|
|
|
http_method_names = ['get']
|
|
|
|
http_method_names = ['get']
|
|
|
|
|
|
|
|
permission_classes = [IsOrgAdminOrAppUser, NeedMFAVerify]
|
|
|
|
def get_permissions(self):
|
|
|
|
|
|
|
|
self.permission_classes.append(NeedMFAVerify)
|
|
|
|
|
|
|
|
return super().get_permissions()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AssetUserAuthInfoApi(generics.RetrieveAPIView):
|
|
|
|
class AssetUserAuthInfoApi(generics.RetrieveAPIView):
|
|
|
|