RocketChat / RocketChat/Rocket.Chat

Importer should send out enrollement/invitation rather than login request

Open
#12,591 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description:

Imported users should receive an enrollment mail so they're able to set their password. At the moment they only receive a Login request, where they have to use the "Password reset" function to actually reset and get their initial password.

An actual invitation would make more sense in this case.

Steps to reproduce:
  1. Import users (CSV)
  2. Users receive email and are prompted to login (without a password)
  3. User clicks "Login" - then has to use "Password reset" function to set the initial password
Expected behavior:

Something like this sent by mail:

screen shot 2018-11-12 at 10 17 50
Actual behavior:

Currently they receive:

screen shot 2018-11-12 at 10 15 45
Server Setup Information:
  • Version of Rocket.Chat Server: 0.70.4
  • Operating System: Cloud
  • Deployment Method: Cloud
  • Number of Running Instances: Cloud
  • DB Replicaset Oplog: Cloud
  • NodeJS Version: Cloud
  • MongoDB Version: Cloud

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 by tracing the CSV user-import entry point and the email flow that currently sends a login request. Compare that path with the existing password-reset or invitation behavior described in the issue. Done means imported users receive an enrollment invitation and can set their initial password without first using password reset.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.