> 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-03.md).

# TEST: SECURITY-GRM-05

Testing the Name textbox with a duplicate non-deleted group.

## References

* [Group / Role Management](broken://pages/-LyJMcL5RmXYBlKFG77H)
* [TEST: SECURITY-GRM-01](/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-01-1.md)

## Discussion

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

## Pre-Conditions / Setup

1. Follow instructions from [TEST: SECURITY-GRM-01](/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-01-1.md) to create a new group.
2. Navigate to **Administration Panel / Security / Groups / Index**.

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