> For the complete documentation index, see [llms.txt](https://inflight.dope.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inflight.dope.security/dope.console/dope.swg-policy/adding-policy-exceptions.md).

# Adding Policy Exceptions

To add an exception to a parent category or subcategory select the category and go to the right hand panel. Here select the + button.

{% hint style="warning" %}
To add Policy exceptions, you need to have previously imported all users and group data.
{% endhint %}

This will allow you to enter in a user or group from your imported users and groups. Once you start typing in the text box provided the console will provide suggested users and groups from the previously imported data.

![](https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2FwWtLZc2mmd5IRlOxMoNu%2Fgitbook-2023_49.png?alt=media\&token=9f89eb6c-717d-4336-bf0c-4586393f9910)

Once you have selected the user or group for whom you wish to create the exception you can then select the restriction level you wish to apply for this user to the select category. Again this is done by simply clicking on the icon and toggling through the restriction levels.

The final step to complete the creation of the category exception is to save the policy. This is done by selecting the save button in the bottom right panel in the console.

![](https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2F0o8PKENn2Pq18OAeSNGT%2Fgitbook-screenshots_16.png?alt=media\&token=a97ed583-b913-4e0e-a86b-a9525b43eaa4)

The Base Policy is now updated, on receipt of the updated policy the dope.endpoint will apply this exception for the configured user or group.

![“Has Exception” on parent category](https://4250118259-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqdf21diS0j19gSMF9LeP%2Fuploads%2FMRLERZ0STNWn2Ap3sHMX%2Fgitbook-2023_50.png?alt=media\&token=8f08189e-0b82-468a-b10c-e2b9409389c9)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://inflight.dope.security/dope.console/dope.swg-policy/adding-policy-exceptions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
