# TEST: SECURITY-UM-17

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

## Discussion

When more than one **Primary Facility** is entered during user creation, individual **Primary Facility** values can be removed from **Demographic Properties** before submitting the form.&#x20;

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Navigate to **Administration Panel / Security / Users / Create User** by clicking the **Create** button on the **Administration Panel / Security / Users / Index** page.
3. Follow [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) to add multiple primary facilities to the **Primary Facility** textbox.

## Actions/Steps

1\. Click the **x** on the left side of a **Primary Facility** tag that has been added to the **Primary Facility** textbox.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0vCVyFurPHoXLjUVp%2F-Me0wNqIRGw7uf3be-JD%2Fimage.png?alt=media\&token=88e60216-7a4f-449f-9679-41068b205ab3)

## Expected Behaviour

* The **Primary Facility** tag corresponding to the **x** clicked is removed from the **Primary Facility** textbox.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0vCVyFurPHoXLjUVp%2F-Me0xV-ugsyJmDTA3ZtC%2Fimage.png?alt=media\&token=aec653e6-97ba-4592-8a52-f49af64a8a64)
