Skip to content

Class and family member invites work for existing users #164

@mikedawson

Description

@mikedawson

Jenkins Status

User story

As a teacher or admin I want class and family member invites to be usable by existing users so that I can invite existing users to join a class or connect as a family member (parent) of a student.

Flows:

  • When a user is logged into the RESPECT app they can use an invite code to accept an invite to join a class or be linked as a family member (parent) of another existing user.
  • When a user is already signed in to the RESPECT app, and opens an invitation link from another app (eg WhatsApp or Scan QR code with camera) then user can accept the invitation for a class or family member link using that account.
  • When a user has an existing account, but is not yet signed in to the respect app, and opens an invitation link from another app (eg WhatsApp or Scan QR code with camera) then user can signin with that existing account and then accept an invitation for a class or family member link.

Notes:

  • This story/scenario (as per its title) is for existing users: it does not apply when there are no active or logged in users. In this case behavior should remain as per the existing app.

For invitations that can use an existing account: the accept invite screen can have a dropdown for the user to select the account to use (same as Google Drive). The dropdown can have option sign in with another account (which would take them to the login screen).
The list of accounts should be filtered to show only those accounts which are for the relevant school.
User interface needs to have somewhere that a logged in user can directly enter a invite code.
When click accept invite - need to see some confirmation that what the user asked for was done.

  • If approval is not required, we could take them direct to the class or family member for which the invite applies (then they see - OK, done, I'm in the class, that's that).
  • If approval is required - take them to the back to accounts screen (where they came from) - where they can see - pending request is in the list.

Prototype flows:

Behavior notes:

  • When a parent is accepting an invite to join a class - if there is more than one child, no child should be selected by default. They must explicitly select.

Implementation notes:

  • On server side: stick to using the existing endpoints with optional authentication (use authenticate optional = true as per the PlaylistRoute).

Metadata

Metadata

Labels

OpenForCommentP2Medium priorityPrototypeReadyHas clear and unambigous prototype sufficient for end-to-end test development and software itself.ReadyForPrototypeHas a user story and list of tasks that user should be able to complete.enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions