# Templates

Privilege Template access policies are a key feature in TrustLogix that enable customers to create object access policies based on personas defined within an organization. Privilege templates group object types and privileges on a data source, allowing for combined grant assignments using a single policy.

<figure><img src="/files/I7ucLbGkqkJ3Lxs2ZWrM" alt=""><figcaption></figcaption></figure>

### Managing Privilege Policy Templates

**Navigating to Privilege Templates**

* Log in to TrustLogix.
* Click on the **Menu** icon.
* Navigate to **Configurations**.
* Click on **Privilege Template** card.

**Viewing and Selecting a Template**

* A list of available templates will be displayed.
* TrustLogix provides some pre-seeded templates based on industry standards.
* Customers can customize existing templates or create new ones.
* Select an existing template (e.g., **DB Privileges - DDL & RW**) to modify or create a new one.

**Editing a Template**

* Click on the **Edit** button.
* Click the **+** icon to add a new object type and privilege.
* Select an **Object Type** (e.g., **ACCOUNT**).
* Select the required **Object Privilege**.
* Click **Close** to save the selection.
* Modify existing object type privileges as needed.
* Click **Update** to save the template.

**Deploying Updated Templates**

* If there are existing policies using the template, a warning modal appears.
* The user can choose to **redeploy the existing policy** or **only update the template**.
* Impacted policies will be flagged on the **Access Policies List** page for redeployment.

**Creating a New Policy Using the Template**

* Click on **Enter a policy name**.
* Select **Policy Type** and choose **Privilege Template**.
* Configure additional details as required.
* Save the policy.

### Notes

* Privilege templates streamline policy management by grouping grants under a single entity.
* Users should ensure proper redeployment of policies when updating templates.
* TrustLogix provides predefined templates, but customization is fully supported.


---

# 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://docs.trustlogix.io/configurations/templates.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.
