> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/advanced-topics/access-control/permission-sets.md). Agents can also search and read this documentation through its [MCP server](https://docs.duplocloud.com/docs/~gitbook/mcp).

# Permission Sets

This document explains how to create a new Permission Set in the DuploCloud AI Suite Access Control panel.

A permission set is a reusable bundle of access rules. It isn't tied to a workspace by itself — you attach it to a user or a group (see [User Groups](https://docs.duplocloud.com/docs/advanced-topics/access-control/user-groups.md)) and define, inside the set, which workspaces and resources it allows or denies.

***

## Prerequisites

* Access to the DuploCloud AI Suite admin panel
* Admin permissions on the Access Control section

***

## Step 1 — Navigate to Access Control

Go to **AI Admin → Access Control** in the left-hand navigation. The page opens on the **Permissions** tab by default, which lists all existing permission sets.

![Step 1 — Permissions tab](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-6d3451773f9c301c87c571fc997088d53e191694%2Fpermission-sets-step-01-list.png?alt=media)

***

## Step 2 — Click "Add"

In the top-right corner, click the **+ Add** button. The Add Permission Set page opens with a **Name** field, a **Description** field, and a **Resource Access** panel — a tree of every workspace, and everything underneath each workspace (clusters, environments, networks, projects, and so on).

![Step 2 — Add Permission Set page](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-e0ef2a10c14866e7c7c3f3226b5df28a0ce84ef8%2Fpermission-sets-step-02-add-empty.png?alt=media)

The toolbar above the tree has shortcuts for bulk edits — **Grant all**, **Deny all**, **Clear all** — plus **Collapse all** and a resource search box.

***

## Step 3 — Enter a Name

Click the **Name** field and type a name for the permission set.

![Step 3 — Name filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-c6d30ef7a499384641505d497dceff1fe8daa2d9%2Fpermission-sets-step-03-name-filled.png?alt=media)

***

## Step 4 — Enter a Description

Click the **Description** textarea and describe the purpose of this permission set.

![Step 4 — Description filled](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-61a3050978ed9e0a8aa33ae117d55075f32cceaf%2Fpermission-sets-step-04-description-filled.png?alt=media)

***

## Step 5 — Select a Resource

Click a resource in the tree. In this example, a workspace. Selecting it opens a detail panel on the right with that resource's access settings — this panel is where scope and resource access are now configured (this replaced the old "Add Workspace Permission" modal).

By default a resource is set to **Inherit**, meaning it carries no rule of its own and falls back to whatever an ancestor resource (or the absence of one) decides.

![Step 5 — Resource selected](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-a6493af1dd1c6d12add49ee6aa3f3f672862a91a%2Fpermission-sets-step-05-workspace-selected.png?alt=media)

***

## Step 6 — Set Access to Allow

Click **Allow** in the detail panel. Three sets of controls appear:

| Axis    | Purpose                                                                                |
| ------- | -------------------------------------------------------------------------------------- |
| Verbs   | GET / PUT / POST / DELETE, or ALL                                                      |
| Scopes  | Workspace-level only — which cloud/Kubernetes scopes in this workspace the rule covers |
| Actions | Named actions (e.g. `aws.jit`) grantable on this resource or its subtree               |

![Step 6 — Allow mode](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-5bbbb02bf43acdfa4912323de0fbc11bd7d2e0db%2Fpermission-sets-step-06-allow-mode.png?alt=media)

**Scopes only appear on a workspace node** — a scope belongs to a workspace, so this control has no effect on a rule set lower in the tree (a cluster, a network, etc.).

***

## Step 7 — Choose Scopes

Check the individual scopes this rule should cover, or check **All scopes** to cover every scope in the workspace — including ones added to the workspace later.

![Step 7 — Scopes selected](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-37927642b64e9c18e57923b0c2ed72eb73c279fd%2Fpermission-sets-step-07-scopes-selected.png?alt=media)

***

## Step 8 — Deny Access to a Specific Resource

Allow and Deny rules can be combined in the same permission set at different points in the tree. Expand the workspace and select a resource type underneath it — in this example, **Cluster** — then click **Deny** and select **ALL** verbs.

![Step 8 — Deny on a subtree](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-537741f5df8a504558dac52a7170c08814e0898b%2Fpermission-sets-step-08-deny-subtree.png?alt=media)

A Deny rule always covers that resource's entire subtree, and **Deny takes precedence over Allow** wherever the two overlap. In this example the permission set grants the workspace's two scopes but blocks every cluster inside it — a common pattern for an "ops access, no cluster access" role.

***

## Step 9 — Submit the Form

Review the completed permission set — the **Resource Access** heading shows a running count of allow/deny rules — then click **Create Permission Set**. A green **Success** toast confirms it was saved.

![Step 9 — Success toast](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-b1a8045877f22e4ac6fa6c2a2f13e947fc2b4f04%2Fpermission-sets-step-09-success-toast.png?alt=media)

***

## Step 10 — Verify in the List

The new permission set appears in the Permissions table with its workspace and grant counts.

![Step 10 — Final permissions list](https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2Fgit-blob-0b704181d23b77a7286f75c2a80f2a8b8a5a01b4%2Fpermission-sets-step-10-final-list.png?alt=media)

***

## How Scopes Relate to Imported Clusters and Networks

A permission set's **Scopes** control decides which cloud/Kubernetes scopes a *user* is allowed to invoke — for example, to request just-in-time AWS credentials or look up cluster details. It's checked only against rules set directly on a Workspace node.

This is a different thing from a resource's own **scope binding** — the cloud credential a specific Cluster or Network was created or imported with (for example, a cluster's own `scopeId`, the credential it uses to talk to its cloud account). That binding lives on the resource itself, lives outside the permission-set tree, and isn't something a permission set grants or inherits. A cluster doesn't "inherit" a scope from a permission set, and a permission set doesn't change which scope a cluster or network was provisioned with — it only controls whether the signed-in user is allowed to use a given scope at all.

***

## Assigning This Permission Set to a User

Creating a permission set doesn't assign it to anyone. To attach it to a user or a group of users, see [User Groups](https://docs.duplocloud.com/docs/advanced-topics/access-control/user-groups.md).


---

# 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://docs.duplocloud.com/docs/advanced-topics/access-control/permission-sets.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.
