[BPSC] Add ability add reviewer as a 'collaborative' user role
Context
Feature
Add checkbox to the 'Invite Reviewer' modal; 'Collaborate'. Update 'Shared' text; 'Read other submitted reviews'.
Design
TBC
Implementation
- User assigned as a 'Collaborate' reviewer should be able to access the same review from the
Review
page. - Currently, invitations to review are made via the team_members table or the invitations table. invitations.invitedPersonType column will need to support a new value 'COLLABORATIVE_REVIEWER' alongside existing 'AUTHOR' and 'REVIEWER' values. teams.role column will need to support a new value 'collaborativeReviewer'.
- For 'collaborative' reviewers; update
Review
page tab 'Review' to 'Collaborative' review. - A user can only be added as an individual or collaborative reviewer - for the MVP, they cannot be both assigned an individual and collaborative reviewer.