[CoLab] Setup redirect after login to submit/decision pages
Description; currently, if a user receives an email notification with an embedded link to a manuscript, they will not be directed to the manuscripts submit/decision page after login.
Current state;
- Admin will be directed to the Manuscripts page (dependent on
LANDING_PAGE_AFTER_LOGIN
configuration setting) - Editor, Author and Reviewer are directed to the Dashboard page.
- All users are directed to User profile page on first login.
Proposed solution; link embedded in email notifications should direct the user to the respective manuscript page in Kotahi after login;
- Authors to the submit page e.g. https://kotahidev.cloud68.co/kotahi/versions/d5228e3a-dab9-48b1-86c9-31783b013757/submit
- Editors to the decision page e.g. https://kotahidev.cloud68.co/kotahi/versions/f7322c4b-a049-47a7-8ebd-b8b5f9490a26/decision
- Review to Dashboard
- Admin will still be directed to the Manuscripts page (dependent on
LANDING_PAGE_AFTER_LOGIN
configuration setting)
Acceptance criteria;
-
Author clicks on the manuscript link embedded in an email notification; after login are redirected to the submit page. -
Editor clicks on the manuscript link embedded in an email notification; after login are redirected to the decision page (specifically the Control panel>Tasks&Notifications tab). -
Reviewer clicks on the 'accept' link embedded in an email notification; after login are redirected to the Review page. -
Admin clicks on the manuscript link embedded in an email notification; after login are redirected to the decision page (specifically the Control panel>Tasks&Notifications tab).