# TEST: SECURITY-UM-21

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

## Discussion

The top banner on the **Administrative Panel / Security / Users / Edit User** page should populate with the selected user's Official Record (Suffix, Given Name(s), Family Name(s), Prefix), Username, and Role(s).

## 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. Navigate to **Administration Panel / Security / Users / Index** page.

## Actions/Steps

1\. Click the **Edit** button for an existing user (e.g. "ClinicalStaffUser123" 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)).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1CTqChCZ5hoew7Nh2%2F-Me1DIsWLymiQpsJXNBK%2Fimage.png?alt=media\&token=ef619f5b-59e4-4d97-b78c-43906def94f1)

## Expected Behaviour

* Banner displays Official Record (Suffix, Given Name(s), Family Name(s), Prefix), Username, and Role(s) for the user.
* If any Official Record (Suffix, Given Name(s), Family Name(s), Prefix), or Role(s) are edited, the banner should show these changes.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me1CTqChCZ5hoew7Nh2%2F-Me1FF9QUni_9k40wxc_%2Fimage.png?alt=media\&token=c15c1a49-72bf-483e-96da-bfffad272331)
