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

- 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.

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.
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 returnsconfirm_required. The agent must call again with confirm: true. Well-behaved agents ask
you before doing that.

