# TEST: SECURITY-GRM-13

## 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-01](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)

## 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](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) 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 %}
