# TEST: SECURITY-GRM-09

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

## Discussion

After a **Policy** is added to the list of **Assigned Policies**, its **Permission** can be toggled to a value of **Denied**.

## Pre-Conditions / Setup

1. Follow the instructions from [TEST: SECURITY-GRM-08](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-06) to create a group and assign a policy.

## Actions/Steps

1\. Toggle **Permission** to **Denied**, corresponding to the **Policy** having denied permissio&#x6E;**.**

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me6DOCbNyjTIYMn2Kvl%2F-Me6F15KDmkEaCuIX1SL%2Fimage.png?alt=media\&token=c1cf669e-8b38-4277-b2bb-630b35d49cc7)

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

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me5i9g0JU79LbksxFfx%2F-Me5vyXGxnFomIaRjt6s%2Fimage.png?alt=media\&token=41be81fe-d206-4e96-8568-bb264df737e4)

## Expected Behaviour

* The **Permission** toggle button should switch to **Deny** being darkened (selected) for the corresponding **Policy**.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me6DOCbNyjTIYMn2Kvl%2F-Me6FCSthQQ29I1gBzVa%2Fimage.png?alt=media\&token=dfe881da-f70e-4eb0-aa76-7bb5355c81bb)
