# TEST: SECURITY-UM-05

## References

* [User Management](broken://pages/-LyJM_KRwADCTfXEdvxM)

## Discussion

Users can be assigned multiple roles/groups that could have various policies and permissions. An invalid Role Name is one that is not a Core Property of any Group.&#x20;

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating users.
2. **Role Name** of the group being entered/added to a user's roles must not exist.
3. Navigate to **Administration Panel / Security / Users / Create User** by clicking the **Create** button on the **Administration Panel / Security / Users / Index** page.

## Actions/Steps

1\. Select the **Role** textbox within the **Security Properties** section.

![](/files/-Mdutq9MFH-7reCmLrjO)

2\. Enter a string that does not match the **Role Name** for any existing group (e.g. "NOT\_A\_ROLE" is being entered here and role names are searched as each character is modified).&#x20;

![](/files/-Mduu7UTQgrptgR1B4A9)

## Expected Behaviour

* The dropdown of possible matching Role Names should display a single disabled value only to prompt the user that there are "no results found".
* The non-existent role being searched should not be added to the **Role** textbox (in this case it remains blank when no other values are present).

![](/files/-Mdute1UrYte019QbsyV)


---

# Agent Instructions: 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:

```
GET https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-05.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
