# Conditional read, add, edit & delete

Allowing users to add, edit & delete records can be very powerful, but sometimes you want to restrict this to only certain Pages or to certain Teams/Users. With conditional add, edit & delete you can do this.

To do this, you need to go to the Permissions tab of the specific Team settings to set up granular access to each page in the application:

![](/files/-Mjhgfwp4ZreT9piucYt)

### Example 1: Make only certain pages visible (Full Access/No Access)

In case you need to configure access only to certain pages, you can set the No Access option for a specific page, in which case the user will not have access to this page by direct link, also it will not be visible to this user in the menu.

To do this, you need to go to the Permissions tab of the specific Team settings to set up granular access to each page in the application. Let's grant full access to only two pages: Admin Panel and Agent Task Management:

![](/files/-Mjhjr2EuNdtN2aDlBdx)

In this case, all users in that team will only see these two pages in the menu:

![](/files/-MjhkuFsfuNt3plZy0lE)

If the user goes to this page through a direct link he will see that screen:

![](/files/-MjhlTrGA96SL6Y-fumn)

{% hint style="info" %}
Now any user on this team will have full access to these pages.
{% endhint %}

### Example 2: Let users read-only access on the specific page

You can grant read-only access to any page. In this case, performing any action on that page (unless your buttons are hidden based on visibility conditions) will be prevented and the user will see an error message:

![](/files/-MjhpPcy-UmJi6l_cKa9)


---

# 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.jetadmin.io/user-guide/components-visibility/conditional-add-edit-and-delete.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.
