-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Create an
Invitemodel - Add relevant fields to
Responsibilitymodel, e.g.can_invite, whether users having a role with this responsibility are allowed to invite other users (false for volunteers, true for presidents)can_be_invited, whether users having permissions to invite others, as well as having this responsibility, can invite others to also have this role (e.g. true for fleet managers to be able to invite other fleet managers, false to disallow volunteers from inviting other volunteers).
- Create an
invitescope which is granted to users having a role withcan_inviteequal toTrue - Provide a private REST endpoint to initiate invites. This should require a
invite-scoped access token, and should return a one-time URI. The relying party should redirect the user to this URI to continue with the invite process. The user should be presented with a view to invite a user by email (and possibly by phone number, in the future). Once to form is filled in, the user should be redirected to one of the relying party's redirect URI. - Send an invite via email, and allow users to sign up (or sign in) and accept an invite. Any relevant roles associated to the invite should be assigned to the user.
- Tests
Metadata
Metadata
Assignees
Labels
No labels