# TEST: SECURITY-UM-36

## 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-35](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-35-1)

## Discussion

Users with a Status of Locked can be updated with a Status of Active.

## Pre-Conditions / Setup

1. Follow instructions from [TEST: SECURITY-UM-35](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-35-1) to lock a user (e.g. "ClinicalStaffUser123").

## Actions/Steps

1\. Click on the **Unlock** button corresponding to the user meant to be unlocked (e.g. "ClinicalStyaffUser123").

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3LoMhPwS36CN9ALoT%2F-Me3N5aanRXqm_HySUu5%2Fimage.png?alt=media\&token=bdcf6546-0eca-424c-97aa-d26c8bba21a7)

2\. Click the **OK** button in the confirmation modal that appears in the browser.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3LoMhPwS36CN9ALoT%2F-Me3NPzh7pjHuLSGbnAQ%2Fimage.png?alt=media\&token=8e105fd4-60d8-4f1d-b1ac-16d3711ed090)

## Expected Behaviour

* Status of the user that was locked changes to **Active.**
* **Unlock** button changes to a **Lock** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3LoMhPwS36CN9ALoT%2F-Me3NilbbtTH5vtueAJP%2Fimage.png?alt=media\&token=1cf227fb-e35e-4e4d-95c5-a1c37db44c98)
