# Overview

Duku uses role-based access control at the organisation level.

### Roles

| Role       | Description                                                                                                            |
| ---------- | ---------------------------------------------------------------------------------------------------------------------- |
| **Member** | Can view products, targets, runs, graphs, screenshots, and test results. Can also start explorations and intent tests. |
| **Admin**  | Includes all Member capabilities, plus member management, API key management, and organisation settings.               |

New users get the **Member** role by default. Admins can change roles from **Settings → Members**.

### Permission matrix

| Capability                        | Member | Admin |
| --------------------------------- | :----: | :---: |
| View products, targets, and runs  |    ✅   |   ✅   |
| View state graphs and screenshots |    ✅   |   ✅   |
| Start explorations                |    ✅   |   ✅   |
| Start intent tests                |    ✅   |   ✅   |
| View errors and test results      |    ✅   |   ✅   |
| Generate API keys                 |        |   ✅   |
| Rotate and revoke API keys        |        |   ✅   |
| Invite members                    |        |   ✅   |
| Remove members                    |        |   ✅   |
| Change member roles               |        |   ✅   |
| Update organisation settings      |        |   ✅   |

### API key permissions

API keys are scoped to the organisation that created them. They cannot cross organisation boundaries.


---

# 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.duku.ai/roles-and-permissions/overview.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.
