# TEST: SECURITY-UM-24

## References

* [User Management](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/broken-reference)
* [TEST: SECURITY-UM-01](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01)
* [TEST: SECURITY-UM-21](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-21)
* [TEST: SECURITY-UM-08](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-08)

## Discussion

A user's password can be reset by editing their Security Properties.&#x20;

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Follow the instructions from [TEST: SECURITY-UM-01](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01) to create a new user -- applying any valid values for required fields.
3. Follow the instructions from [TEST: SECURITY-UM-21](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-21) to navigate to **Administration Panel / Security / Users / Edit User** for the newly created user.

## Actions/Steps

1\. Click the pencil in the top right-hand corner of **Security Properties** to edit them.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1tsCs5ShvvgMMFdzs%2F-Me1uOUgm1qFbhTytG3O%2Fimage.png?alt=media\&token=9ea64053-5b0d-4ac3-9a6a-e6c3a69c7e1d)

2\. Click the **Reset Pwd** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1tsCs5ShvvgMMFdzs%2F-Me1ux2WgOyP5fZnKJbc%2Fimage.png?alt=media\&token=255dbb58-c29a-4353-889f-fb92b3bda8eb)

3\. Enter a **New Password** and a matching **Confirm Password** that is either **Strong** or **Very Strong** (see [TEST: SECURITY-UM-08](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-08)) and click the **Save** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1tsCs5ShvvgMMFdzs%2F-Me1xv5p-lH763J9Ms7N%2Fimage.png?alt=media\&token=dea89d5e-e3db-45d4-b6a6-4ca192953a52)

## Expected Behaviour

* A toast message appears in the top-right corner of the window stating that password changes have been saved.
* There is no need to click the green checkmark in the top-right corner of **Security Properties** for the password changes to be saved.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1tsCs5ShvvgMMFdzs%2F-Me1yU56lVrj7ObhjWhK%2Fimage.png?alt=media\&token=8531641a-b3f2-4caf-ad68-4f8336ad886f)
