Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider re-working internal process for how users are invited #482

Open
iainkirkpatrick opened this issue Jan 22, 2018 · 0 comments
Open

Comments

@iainkirkpatrick
Copy link
Member

out of a discussion with Greg this afternoon, I had the idea that we could improve the process by which we invite / add new members to groups (and thus Cobuy)

at the moment:

  • admin adds group members on invite form
  • this triggers agent creation for these members, and subsequent credential creation (of an email / pass type, this is created without password but with the given email)
  • also triggers token creation for the invited users to be able to visit a special page and update their password

problem is this restricts users to email / pass credentials atm, also feels a bit weird to me to create agents / credentials before the relevant users do...

so i wonder if instead:

  • admin adds group members on invite form
  • create a token which contains the email the admin entered for the user, and the relevant group
  • this token is sent in an email to the user, it links to either the main sign up page or a special sign up page with the token - either way the user is now prompted to sign up with whatever credential they want (and a different email if they choose!)
  • when the user signs up, we check for token info, if so also create the relationship to the given group

thoughts / critique welcome 🎉

@iainkirkpatrick iainkirkpatrick changed the title consider re-working how users are invited consider re-working internal process for how users are invited Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant