Skip to content

Feature Request: Ability to login as both a Researcher and a Participant #147

@lilcham

Description

@lilcham

Feature Request

#39 Introduced a new view for a user who logged in as a participant. Currently, there is only the option to login as a participant or as a researcher; you can't login as both. It would be a good feature to be able to have one account that can be a researcher and a participant (for studies that they are not a researcher for).

Changes

This feature requires backend changes as well as an extensive frontend change. For the backend changes, the login flow must be changed so you can login as a researcher or as a participant. Also, the account creation should be changed to save multiple authorities in the account; currently only the first one is saved (even though there is a Set to save them). After dealing with the login and account creation, limits should be added to the application so that a researcher cannot add themselves to one of their own studies.

A big question to consider is: If we created a participant account initially, how can we be upgraded to a researcher?

For the frontend changes, the frontend must include a way to switch between the two views; participant and researcher view. Switching between views must only be available if there are multiple authorities saved to the user; if not, only one view should be shown and they shouldn't be able to switch.

Work Estimation

Due to the frontend and backend changes stated above, I think this feature request has a work estimation equivalent to a large issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions