# TEST: SECURITY-UM-07

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

## Discussion

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. Follow [TEST: SECURITY-UM-06](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-06) to add multiple **Role Name** values to the **Role** textbox.

## Actions/Steps

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

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Mdv0cfQP9bmmKEkvFi9%2F-Mdv1CDkp6xm74ajXFqt%2FRole_RemoveHover.png?alt=media\&token=1375c925-d9dd-4f4d-b28e-5dbcd57d9846)

## Expected Behaviour

* The **Role Name** tag corresponding to the **x** clicked is removed from the **Role** textbox.
* Only policies and permissions for the **Role Name(s)** in the **Role** textbox are applied upon creation of the corresponding user (see [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)).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Mdv0cfQP9bmmKEkvFi9%2F-Mdv2C40CydxcwNZIHiM%2Fimage.png?alt=media\&token=f44bfeb8-8d7c-4bf5-9398-5a5addce7ee3)
