# Table security

## Overview

The Table Security Editor in Servoy Developer allows for detailed management of user permissions, restricting or granting access rights to specific tables and operations within the database. Permissions are structured around user roles, such as Administrators and Operators, and can be configured to control activities like reading, inserting, updating, and deleting records.

## Get Started

To work with the Table Security Editor, you should first [connect to your database](/guides/develop/application-design/data-modeling/databases.md#connect-to-a-database) and [open the table](/guides/develop/application-design/data-modeling/databases/tables.md#open-edit-a-table) in the [Table Editor](/reference/servoy-developer/object-editors/table-editor.md), where you will manage permissions.

<figure><img src="/files/aT1I8WeSIXvaZZo7cv4I" alt="Table editor - Permissions"><figcaption><p>Table Editor - Permissions</p></figcaption></figure>

## Configuring Permissions

1. In the Security tab of the Table Editor, permissions are listed by user roles such as Administrators, Operators and / or other user defined rols.
2. For each role, select the desired permissions:
   * Read: Allows viewing of records.
   * Insert: Permits adding new records.
   * Update: Enables modification of existing records.
   * Delete: Allows deletion of records.
   * Tracking(Insert/Update/Delete): Tracks changes to records.
   * Tracking(Select): Tracks access to records.
3. Check or uncheck boxes to grant or revoke these permissions for each role.

## Applying Changes

Permissions will be updated when pressing 'Save' button in the editor, affecting user access as specified.

## Reference to Managing Users

For instructions on managing user roles and adding new users, refer to the detailed guide in the [Security Editor](/reference/servoy-developer/object-editors/security-editor.md) section of the documentation.

## Remarks

{% hint style="info" %}
Permissions set in the Security Editor are crucial for maintaining data integrity and regulating access to sensitive information within the database. It is recommended to review and update these settings regularly to adapt to any changes in team roles or security requirements.
{% endhint %}


---

# 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.servoy.com/guides/develop/application-design/data-modeling/databases/tables/table-security.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.
