# TEST: SECURITY-GRM-06

## References

* [Group / Role Management](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/broken-reference)
* [TEST: SECURITY-GRM-03](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-03-1)

## Discussion

Groups cannot be created with a duplicate **Name** matching a deleted group.

## Pre-Conditions / Setup

1\. Follow instructions from [TEST: SECURITY-GRM-03](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-03-1) to delete a group.

## Actions/Steps

1\. Click the **Create** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4sp3PGaeFqVNyCEzH%2Fimage.png?alt=media\&token=89a0f2ae-6d97-4faf-95b4-b21104d80d7e)

2\. Enter invalid **Name** for the group (duplicate; e.g. "Muddsville").

## Expected Behaviour

* No group should be created.
* Remain on **Administration Panel / Security / Groups / Create Group** page.
* Display a prompt below the required **Name** textbox with a validation message as follows:

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me56qppoHC4XKmCuwIA%2F-Me59LLZnTFUEYtbqUMz%2Fimage.png?alt=media\&token=08091ad6-8dc8-4211-8cd8-01a8b38a4700)
