apache / apache/cloudstack

Email alert should be sent to the end user when admin changes the password

Open
#12,579 1 comment 0 reactions 0 assignees View on GitHub
no-issue-activity type:enhancement type:new-feature
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### The required feature described as a wish

As a User/Admin/Operator I would like to have email sent to the end user when admin changes the password

Steps to reproduce the issue

1. As a Admin user, Create a account with user role

2. Change the password

Image

3. No email is sent to the end user mail id intimating the password change

Currently if a users tries the forgot password option, an email is sent to the end user based on the following global setting

```
user.password.reset.mail.template

Hello {{username}}!
You have requested to reset your password. Please click the following link to reset your password:
{{{resetLink}}}
If you did not request a password reset, please ignore this email.

Regards,
The CloudStack Team
```

Similarly a mail should be sent to the end user with the new password

Ref : https://docs.cloudstack.apache.org/en/4.22.0.0/adminguide/accounts.html#password-recovery-for-users-forgot-password

Contributor guide

Open the contributing guide

Research direction

Start by tracing the admin password-change flow and compare it with the existing forgot-password flow described in the issue. Read the user.password.reset.mail.template setting and the linked password-recovery documentation; done means an end user receives the intended notification after an administrator changes the password.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.