Skip to main content

Permissions and safety

A connected app never holds a password or a long-lived secret with fixed powers. Its token proves who you are; what it may do is looked up on every request. That is why every control below takes effect immediately, without reconnecting the app.

Settings → Connected apps

Connected apps list with deploy switches
One row per app. For each you can:
  • Toggle Deploy. Off means read only. On lets the app use the deploy tools.
  • Edit projects. Limit the app to some of your projects. It will not see the others even though you can.
  • Revoke. The app loses access on its next request and has to sign in again from scratch.
Projects dialog for a connected app

Restricting an app to specific projects.

Per-project opt-in

Deploy tools also require the project itself to allow agent writes. A project owner or administrator turns that on in Project Settings → General → Agent write access. Until then, every app is read only on that project regardless of its own switch.
Agent write access switch in project settings
Two switches, two people: the person who connected the app decides whether that app may deploy; a project admin decides whether any app may deploy on that project.

Your role still applies

An app acts as you. If you are a read-only member of a project, no switch makes the app able to deploy there. Owners, administrators and developers can.

Production asks first

Rebuilding, restarting, updating modules on or backing up a production deployment always returns confirm_required. The agent must call again with confirm: true. Well-behaved agents ask you before doing that.

What is never possible

No connected app can delete a project or deployment, restore a backup over a database, change domains, manage servers, open a shell, or change billing. These are not gated; they do not exist as tools.

Audit

Every write made through an app appears in the project’s audit log, attributed to the app and the user who connected it.