Skip to content

Commit

Permalink
Add required write scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjgeiger committed May 16, 2024
1 parent 0237813 commit 67e8d7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/preprints/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 67e8d7b

Please sign in to comment.