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

Inviting users to a company - or inviting them to the platform #14

Open
4 of 5 tasks
viktorsmari opened this issue Apr 22, 2021 · 0 comments
Open
4 of 5 tasks

Inviting users to a company - or inviting them to the platform #14

viktorsmari opened this issue Apr 22, 2021 · 0 comments

Comments

@viktorsmari
Copy link
Contributor

viktorsmari commented Apr 22, 2021

Note: We can not allow to search by email, because then any user can see everyone's email address, which is a privacy issue.

TODO:

  • In the select2 box, remove the email address - Or is it OK if it's only admins using it?
  • In the select2 box, show users profile picture to help identify a user.
  • If admin, allow to search by email, else it's name only
  • Users can be invited to the platform via devise_invitable (nothing links to it yet)
  • Show Invite new user in a modal?

2 scenarios when trying to invite an User (employee) to a company:

  • User already has an account on MW
    • Company owners can search ALL USERS by name (not email) and give them access to their company.
    • We can allow only superadmins to search by name and email (because of privacy issues)
  • User does not have an account on MW

Examples - How GitHub invites users to repos

  • If a user has an account on GitHub, we can easily find them by name.
  • We cannot see any emails. If you type in a whole email address, you can send an email to invite the person.
  • That invite might check if the user already has an account, or forces him to sign up first, and then accept the invite.

2021-04-22_13-37-30

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