RocketChat / RocketChat/Rocket.Chat

CSV User Import and Invitation to create passwords

Open
#12,550 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

After a successful CSV import the system is inviting users to the login page and not asking them to create a password.

Steps to reproduce:
  1. Go though the CSV import (the flat zip file has only users, nothing else)
Expected behavior:
  1. The system should send out invitation emails
  2. Users that click on the button should be taken to a page where they are asked to create a password
Actual behavior:

It seems the system is sending "Registration" emails and not "Invitation" emails (which doesn't make any difference as the URLs for the buttons are the same).
Users are not getting asked to create a password, they are actually brought to a login page and that's it.
Obviously they can't login as they don't have a password.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.71.1 (Originally 0.70.4)
  • Operating System: Linux x64
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Disabled
  • NodeJS Version: 8.11.3 - x64
  • MongoDB Version: v3.6.8
Additional context
Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSV import flow and follow how it selects registration versus invitation emails and their links into the login and password-creation pages. Reproduce the import with a users-only flat ZIP and verify that the invitation link leads each user to create a password before login.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.