From 67e8d7b9a5e07aa8eb0e4225f781595328e07c3c Mon Sep 17 00:00:00 2001 From: "Brian J. Geiger" Date: Thu, 16 May 2024 15:35:54 -0400 Subject: [PATCH] Add required write scopes --- api/preprints/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/preprints/views.py b/api/preprints/views.py index d5104494bae..302b8623102 100644 --- a/api/preprints/views.py +++ b/api/preprints/views.py @@ -469,6 +469,7 @@ class PreprintSubjectsRelationship(SubjectRelationshipBaseView, PreprintMixin): ) required_read_scopes = [CoreScopes.PREPRINTS_READ] + required_write_scopes = [CoreScopes.PREPRINTS_WRITE] view_category = 'preprints' view_name = 'preprint-relationships-subjects'