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

# TEST: SECURITY-GRM-13

Testing the addition of a Member while editing a group's Members.

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

A **Member** may be added to a group, to whom assigned policies are applied.

## Pre-Conditions / Setup

1. Follows the 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 group to be edited.
2. After a group is created, the user is automatically brought to the corresponding **Administration Panel / Security / Groups / Edit Group** page.

## Actions/Steps

1\. Select the **Add** dropdown within the **Members** panel.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me6Ijp0nWZIZ3pu7BZd%2F-Me8Ow59Df1sdw6ecVDG%2Fimage.png?alt=media\&token=35a9553b-b865-4d9b-bef9-c8b228496c90)

2\. Select a **Member** (e.g. "demoadmin") from the dropdown to be added to the list of **Members**.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me6Ijp0nWZIZ3pu7BZd%2F-Me8Pd1Th2UN9wcyAYJD%2Fimage.png?alt=media\&token=d7da7287-d24d-41bb-adb5-9af44bcd3085)

## Expected Behaviour

* The assigned **Member** (e.g. "demoadmin") is saved to the list of **Members**.
* Dropdown of policies in the **Add** field has its last selection cleared.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me6Ijp0nWZIZ3pu7BZd%2F-Me8TB_NxSy2R7RhbTjc%2Fimage.png?alt=media\&token=fd17d07f-568d-4e47-aa0c-57a44cb8d9ee)

{% hint style="info" %}
No need to click the **Save** button to updated the role successfully.
{% endhint %}
