This repository was archived by the owner on Jun 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1616 GlobalTokenAuthentication ,
1717 OrgLevelTokenAuthentication ,
1818 RepositoryLegacyTokenAuthentication ,
19+ UploadTokenRequiredAuthenticationCheck ,
1920 repo_auth_custom_exception_handler ,
2021)
2122from codecov_auth .authentication .types import RepositoryAsUser
@@ -73,6 +74,7 @@ class EmptyUploadSerializer(serializers.Serializer):
7374class EmptyUploadView (CreateAPIView , GetterMixin ):
7475 permission_classes = [CanDoCoverageUploadsPermission ]
7576 authentication_classes = [
77+ UploadTokenRequiredAuthenticationCheck ,
7678 GlobalTokenAuthentication ,
7779 OrgLevelTokenAuthentication ,
7880 GitHubOIDCTokenAuthentication ,
Original file line number Diff line number Diff line change 1414 OrgLevelTokenAuthentication ,
1515 RepositoryLegacyTokenAuthentication ,
1616 TokenlessAuthentication ,
17- UploadTokenRequiredAuthenticationCheck ,
1817 repo_auth_custom_exception_handler ,
1918)
2019from codecov_auth .authentication .types import RepositoryAsUser
@@ -59,7 +58,6 @@ class TestResultsView(
5958):
6059 permission_classes = [UploadTestResultsPermission ]
6160 authentication_classes = [
62- UploadTokenRequiredAuthenticationCheck ,
6361 OrgLevelTokenAuthentication ,
6462 GitHubOIDCTokenAuthentication ,
6563 RepositoryLegacyTokenAuthentication ,
Original file line number Diff line number Diff line change 1010 GlobalTokenAuthentication ,
1111 OrgLevelTokenAuthentication ,
1212 RepositoryLegacyTokenAuthentication ,
13+ UploadTokenRequiredAuthenticationCheck ,
1314 repo_auth_custom_exception_handler ,
1415)
1516from reports .models import ReportSession
2526class UploadCompletionView (CreateAPIView , GetterMixin ):
2627 permission_classes = [CanDoCoverageUploadsPermission ]
2728 authentication_classes = [
29+ UploadTokenRequiredAuthenticationCheck ,
2830 GlobalTokenAuthentication ,
2931 OrgLevelTokenAuthentication ,
3032 GitHubOIDCTokenAuthentication ,
You can’t perform that action at this time.
0 commit comments