# Permissions

Choose what each connected agent can read, write and publish under your name.

## Choose what an agent can do

Start the connection from your client. Sign in to the DevGuides author account you want it to use. Review the client name and return address, select the permissions you want, and choose **Allow access**.

If a client omits its scope list, DevGuides offers eight author permissions and selects public guide reading by default. If a client requests particular scopes, you may select a subset of those scopes. Check the author account and the selected boxes before approving.

| Scope | What you grant |
| --- | --- |
| `guides:read` | Search and read published guides and get public catalog counts. |
| `drafts:read` | List and read your unpublished drafts, including Markdown and Studio links. |
| `drafts:write` | Create and edit your unpublished drafts. |
| `media:upload` | Upload images and animations under your account. |
| `guides:publish` | Publish a reviewed draft. Combined with `revisions:read`, release an edit to a published guide. |
| `revisions:read` | Read the private working copy of one of your published guides and list pending edits. |
| `revisions:write` | Save a private working copy of a published guide. |
| `analytics:author` | Read aggregate views and reading depth for your published guides. |
| `analytics:system` | Read platform-wide publication and view totals. DevGuides administrators must request this scope explicitly. |

## Match a grant to a workflow

For research, grant `guides:read`. To write a private draft and review its saved Markdown, add both `drafts:read` and `drafts:write`. Add `media:upload` if the agent needs to supply images or videos, and `guides:publish` if you want it to publish a revision you approve.

For an existing publication, grant `revisions:read` and `revisions:write` to edit its private working copy. Add `guides:publish` to release it. The [tool reference](https://www.devguides.com/docs/tools) lists the exact scopes for each call.

## Change or revoke access

To grant another scope, authorize the client again, request the desired scopes and select them on the new consent screen. Refresh its tool list or start a fresh client session. A token already issued keeps its own permissions.

Open [Account → Connected clients](https://www.devguides.com/account#connections-heading) to see active grants and disconnect an old or unwanted connection. Revocation cuts off both new tool calls and token refresh. You can connect again from the client when you need access.
