forked from CenterForOpenScience/osf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-2814] Allow Read-only and Read/Write contributors to view a proj…
…ect's draft registrations (CenterForOpenScience#10660) ## Purpose Change permissions for DraftRegistrations so Read/Write contributors can view all listed DraftRegistrations for a node. GET for reading, POST for DR creation and PATCH for editing ## Changes - Add new permissions class NodeDraftRegistrationsListPermission to NodeDraftRegistrationsList - Break up test runner into separate classes - Split apart large single test functions into individual cases - add more to testing matrix test_<user_permission>_draft_not_node has all cases CenterForOpenScience#10468 ## QA Notes ## Ticket https://openscience.atlassian.net/browse/ENG-2814
- Loading branch information
1 parent
056452a
commit 68e1f55
Showing
9 changed files
with
566 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.