Connection permissions now session-scoped

Permissions for Computer Use connections are now bound to individual sessions rather than stored globally. First runs create a settings file silently, and users can override permissions at connect time without affecting saved defaults.
Before this change, setting up Computer Use meant a multi-step configuration wizard before every connection — users picked a template, edited permission modes per tool group, and set a filesystem root directory. Those settings were written to disk and applied globally.
Now permissions are session-scoped. A new class holds the effective permissions and working directory for each connection. On first run, the settings file is created automatically with the Recommended template — no prompts. Stored permissions become defaults for future connect prompts, not permanent locks.
When connecting, users see a single confirmation showing the URL, current permission table, and working directory. They can choose Yes, Edit, or No. Edits are applied to the session object and used for that connection only — never written back to the settings file. Only resource-level rules like "Always allow /path/to/file" still persist across sessions.
The change simplifies the startup experience while preserving flexibility. Developers testing different permission modes no longer need to edit config files or remember to reset settings afterward.
View Original GitHub Description
Summary
Updates the startup process of Computer Use to not require setting up permissions for different tool groups and removes the confirmation of the working directory. Instead these can be approved or configured when the connection is initialized.
<img width="684" height="406" alt="Bildschirmfoto 2026-04-08 um 15 14 47" src="https://github.com/user-attachments/assets/64712229-8f11-48fb-b693-287294659a40" />Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-4797/change-permission-modes-to-be-bound-to-session-and-not-globally https://linear.app/n8n/issue/NODE-4799/rename-filesystem-root-directory-to-ai-working-directory
Review / Merge checklist
- PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
- Docs updated or follow-up ticket created.
- Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)