# TEST: SECURITY-GRM-02

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

Only one group property is specifically required from user input during new group creation and that is the **Name**. This test verifies the required **Name** field has a prompt with a validation message. Note that Group ID is required, but is automatically generated.

## 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**.&#x20;

## Actions/Steps

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

![](/files/-Me4sp3PGaeFqVNyCEzH)

2\. Click the **Save** button.

![](/files/-Me4yim4nzRn-cD6sWT8)

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

![](/files/-Me4z7OxZcm0dbrMkIS_)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET 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.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
