> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/group-role-management-tests/test-security-grm-15.md).

# TEST: SECURITY-GRM-04

## References

* [Group / Role Management](broken://pages/-LyJMcL5RmXYBlKFG77H)
* [TEST: SECURITY-GRM-03](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/group-role-management-tests/test-security-grm-03-1.md)

## Discussion

After a group record has been deleted, it is not permanently destroyed. Deleted groups can be **Un-Deleted** and is recovered from a Status of Obsolete in so doing.&#x20;

## Pre-Conditions / Setup

1\. Follow the instructions from [TEST: SECURITY-GRM-03](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/group-role-management-tests/test-security-grm-03-1.md) to delete a group (e.g. "Muddsville").

## Actions/Steps

&#x20;1\. While the **Show Deleted** button is toggled (darkened), deleted groups can be un-deleted by clicking the **Un-Delete** button corresponding to the group to be recovered.

![](/files/-Me53X5JqyaLpk8kvsIr)

2\. Click the **OK** button on the confirmation prompt appearing in the browser.

![](/files/-Me53ehAT-sKXbcamnYd)

## Expected Behaviour

* Table is reloaded to show deleted groups and should no longer include the group that was just reactivated (e.g. "Muddsville").

![](/files/-Me5666Jo_oiIvepiwh1)

* After toggling back to the un-deleted groups, the reactivated group should appear there.

![](/files/-Me56n9Wm3NKo4xbFCoJ)
