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

# TEST: SECURITY-PM-02

## 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 leaving the OID and/or Name fields blank.

## 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/-Me0TIoaEdRUKuBGjlVh)

2- Leave OID filed and Name field blank and click the **Save** button.( OID field and Name field are required fields )&#x20;

![](/files/-Me0VclXju0PJcPKKWtn)

## Expected Behaviour

1- Should navigate to the new Create Policy page.

![](/files/-Me0UNd7O5tFFEiB62Sj)

2- Should show an error message below OID field and Name field indicating that required field is missing.

![](/files/-Me0WVu1dNGFIh4vch2H)

&#x20;
