> 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;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET 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?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
