> 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-01-1.md).

# TEST: SECURITY-GRM-01

Testing the successful creation of a Group with all properties specified.

## References

* [Group / Role Management](broken://pages/-LyJMcL5RmXYBlKFG77H)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when creating new groups on the [Group / Role Management](broken://pages/-LyJMcL5RmXYBlKFG77H) page.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating groups.
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 a valid **Name** for the group (non-duplicate).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4uBSVoNynJKOP2Pku%2Fimage.png?alt=media\&token=ee3710f3-9bad-4051-813d-9acf090b41b2)

3\. Optionally enter a **Description** (max. 2048 characters).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4uT0qZSsGH-jFaBla%2Fimage.png?alt=media\&token=d3f7319a-d1a2-4b6d-b106-ac8af4ad1e9a)

4\. Click the **Save** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4ur_HY6F0ePqQVFNc%2Fimage.png?alt=media\&token=8f9d0b1a-8b0b-4837-89b2-f79f4b2633a5)

## Expected Behaviour

* Green toast appears briefly in top-right corner of window stating: "Role updated successfully".

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4vuPWypZUFCbwKOl0%2Fimage.png?alt=media\&token=c89b72b6-85d3-4e32-917a-9077d2f91ea4)

* Page is redirected to **Administration Panel / Security / Groups / Edit Group** for the new group create successfully.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me3Qwps9PzpN8cd2sPn%2F-Me4w8Br-p2RINu7ilZa%2Fimage.png?alt=media\&token=ce543715-f203-4a8f-839a-97dd750fbc19)
