# TEST: SECURITY-AM-06

## References

* [Application Management](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/application-management-tests/broken-reference)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when assigning a policy to an existing application.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for assigning policies to applications.
2. Navigate to **Administration Panel / Security / Applications / List**.

## Actions/Steps

1- Click the **Edit** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIDRdQs3JGUHXbm6AY%2F-MdIabUIadfIxHRrMIQF%2F19.jpg?alt=media\&token=4b242b2c-83ef-494c-817f-0b6945f92b68)

2- Choose the to be added policy ( for example: Create Local Users ) from the dropdown list and click the **+** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIDRdQs3JGUHXbm6AY%2F-MdIea7nY0WSliKS5dQl%2F20.jpg?alt=media\&token=ca2b5228-8ac9-4589-9487-b705242ef26d)

## Expected Behaviour

1- Should navigate to the Applications/Edit Application page.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIDRdQs3JGUHXbm6AY%2F-MdIdSAXett8fbYd4zxL%2F20.jpg?alt=media\&token=41b46bad-deea-4fb1-ac2d-c97d2266eedc)

2- Assigned policy ( Create Local Users ) should appear under the Associated Policies tab.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIDRdQs3JGUHXbm6AY%2F-MdIfRrmBNji5axLXYRs%2F21.jpg?alt=media\&token=9e7881c4-2cb0-4078-992c-702e864c4eae)
