# Restricting app access

This page describes how you can restrict Intercom app access and limit the visibility of Jira resources. Please note that we cannot give a detailed step-by-step guide because permission configuration in Jira is highly dependent on your individual setup.

{% hint style="info" %}
**Jira company-managed spaces only**\
\
Note that this is currently only available for [company-managed](https://support.atlassian.com/jira-software-cloud/docs/what-are-team-managed-and-company-managed-projects/) (formerly classic) Jira spaces. Team-managed spaces (formerly next-gen) have a simplified permission scheme that presently does not allow you to control permissions at a granular level.
{% endhint %}

Any operation in the Intercom app that involves interaction with Jira (e.g., create a work item or retrieve available Jira spaces) will run as the user who was logged into Jira when the Intercom app was installed. This means that calls made by the Intercom app to Jira, e.g., fetching available Jira spaces, will return all the Jira spaces visible to that particular user.

{% hint style="info" %}
**Setting up a dedicated Jira user for the Intercom app**

We highly recommend setting up a dedicated Jira user for the Intercom app if you would like to restrict app access.
{% endhint %}

If you would like to restrict access, proceed as follows:

1. Create a Jira user, e.g. called **Intercom app,** specifically for the Intercom app.
2. Restrict access and permission for the newly created Jira users to the resources that you would like to expose in the Intercom app
3. Follow the steps on [Changing the Intercom app user](/intercom/jira-cloud-for-intercom/guides/intercom-administrator/changing-the-intercom-app-user.md) and make sure to log in to Jira with the user that you have just created.

Any request made by the Intercom app to Jira will now run in the context of the Intercom app user and respect its Jira user permissions.


---

# 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.toolsplus.io/intercom/jira-cloud-for-intercom/guides/intercom-administrator/restricting-app-access.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.
