# TEST: SECURITY-UM-28

## 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-16](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-16)
* [TEST: SECURITY-UM-19](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-19)

## Discussion

SanteSuite user accounts can be edited&#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 **User Profile** tab.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2GflPA0K75xp4zezV%2F-Me2HaZR0jkkwGdg-Tkk%2Fimage.png?alt=media\&token=dc443d97-a86d-42aa-9598-d876afca47fe)

2\. Click the pencil in the top right-hand corner of the **Profile** card to edit the properties.&#x20;

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1zRT-zkbwZyaZMImW%2F-Me2APtOBQvuT6ntvXN6%2Fimage.png?alt=media\&token=c2234b5f-fcac-4cfe-86da-7b283fe018fb)

3\. Click on the **Additional Info** tab.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2hflo3OkJ-7zwm26x%2F-Me2jEDBBgXmE9iiEJDz%2Fimage.png?alt=media\&token=4f47df8b-f789-4f7f-a2dc-6ca75504b315)

4\. Select or enter a **Birthdate** and enter any **Primary Facility** or **Employer** value(s) similar to how it is done in [TEST: SECURITY-UM-16](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-16) and [TEST: SECURITY-UM-19](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-19).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2hflo3OkJ-7zwm26x%2F-Me2k38wSqjmUur9A7Fg%2Fimage.png?alt=media\&token=0bc8ada2-3f7f-47c6-b8a5-4e41336c2069)

5\. Click the green checkmark to save the **Contact Info** field(s) modified.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1HQIY6P6INDRiiVvJ%2F-Me1WhhOu0AA-hqKmeMs%2Fimage.png?alt=media\&token=b1e421b8-1ec0-4e1b-8cd9-a40bfe25ca5c)

## Expected Behaviour

* A toast message appears in the top-right corner of the window stating "User updated successfully" when the steps above are followed correctly.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1zRT-zkbwZyaZMImW%2F-Me2FS-qYtLiDzU54RpY%2Fimage.png?alt=media\&token=8e3e3b29-6152-45e4-9ec4-ce5d08c60a9d)

* The **Profile** card should be updated to show any changes to **Birthdate**, **Language(s)**, **Employer**, or **Primary Facility**.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2hflo3OkJ-7zwm26x%2F-Me2lUDIxPxmKC-t-8W6%2Fimage.png?alt=media\&token=fe9cd19b-dd09-411e-bca5-270adc7b92be)
