# TEST: SECURITY-UM-27

## 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)

## Discussion

SanteSuite user accounts can be edited to hold extended **Contact Info** that provides more than a single email and/or phone number.

## 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 the **Contact info** tab.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2WNTt6fRxJhTSIfud%2F-Me2apeZY2uWHj4nNMNN%2Fimage.png?alt=media\&token=bf073c8a-6749-4e83-822c-7ba1fef5ff82)

4\. Click the toggle for an available Contact Info field to select either an email address or phone number and input the email address or phone number into the corresponding textbox.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2WNTt6fRxJhTSIfud%2F-Me2bt7Eo84qcq3Rbhex%2Fimage.png?alt=media\&token=8c557383-b736-4421-b230-91603aa87a33)

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 the new **Contact Info**.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2WNTt6fRxJhTSIfud%2F-Me2hWRymfG8es4kZKIt%2Fimage.png?alt=media\&token=be721c38-967c-4c02-bb63-19233bf643dc)
