> 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/security-policy-management-tests/test-security-pm-01.md).

# TEST: SECURITY-PM-01

## References

* [Security Policy Management](broken://pages/-LyJMeXTqUGM9ThfTS7k)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when creating a new policy.

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating policies.
2. Navigate to **Administration Panel / Security / Policies / Index**.

## Actions/Steps

1- Click the **Create** button &#x20;

![](/files/-Md59tofFzLZAXZJGJEF)

2- Fill out the fields appropriately and click the **Save** button.(keep in mind that  OID field and Name field are required fields )&#x20;

![](/files/-Md5FP4wUXq4JaS4O-ql)

## Expected Behaviour

1- Should navigate to the new Create Policy page.

![](/files/-Md5B4zVgVV5YzGwIr-Y)

2-

* Should navigate to Policy Management Index page.
* Should momentarily display success message in the top right corner
* Should appear New Policy(**Create-Policy-Test**)  in the table of policies on the Index page with properties matching those put in the form required to create a new policy.

![](/files/-Md5Lj2PMtstPQst0df-)

&#x20;  &#x20;
