feat: Add credential-level option to disable session recording and logging
まだ誰も着手していません。
- #11 @snkrheadz による — マージされずにクローズ
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
credentials/BrowserbaseApi.credentials.ts から始め、credential と Browser Options の値から Browserbase セッション設定を構築するノード実行ロジックを見つけます。2 つの任意の credential フィールドを false のデフォルト値で追加し、どちらか一方を有効にすると対応する設定が強制的にオフになり、無効な場合は現在の動作が維持されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Problem
When using the Browserbase node for back-office automation (e.g., expense processing, HR workflows, internal tools), browser sessions may display sensitive employee and business data. The current default behavior (recordSession: true, logSession: true) causes this data to be captured and stored on Browserbase servers for up to 30 days.
While individual workflow creators can toggle these options off in Browser Options, there is no way for an organization's n8n administrator to enforce this policy across all workflows using the same Browserbase credential.
Proposal
Add two optional boolean fields to BrowserbaseApi.credentials.ts that allow credential owners to force-disable session recording and logging for all workflows using that credential:
// credentials/BrowserbaseApi.credentials.ts
{
displayName: 'Disable Session Recording',
name: 'disableSessionRecording',
type: 'boolean',
default: false,
description: 'Force-disable session recording for all workflows using this credential. When enabled, the per-node "Record Session" option is ignored.',
},
{
displayName: 'Disable Session Logging',
name: 'disableSessionLogging',
type: 'boolean',
default: false,
description: 'Force-disable session logging for all workflows using this credential. When enabled, the per-node "Log Session" option is ignored.',
},
In the node execution logic:
const credentials = await this.getCredentials('browserbaseApi');
const browserSettings = {
recordSession: credentials.disableSessionRecording
? false
: (browserOptions.recordSession ?? true),
logSession: credentials.disableSessionLogging
? false
: (browserOptions.logSession ?? true),
// ...
};
Why credential-level?
- Admin control: In n8n, credentials are typically managed by admins/owners — regular workflow creators use shared credentials without editing them.
- Organization-wide enforcement: A single credential shared across multiple workflows applies the policy uniformly.
- No breaking changes: Defaults to
false, preserving existing behavior for all current users. - Works on n8n Cloud and self-hosted: No dependency on environment variables or instance-level settings.
Alternatives considered
| Approach | Pros | Cons |
|---|---|---|
Change defaults to false |
Simple | Users can re-enable; no enforcement |
| Environment variable | True admin control | Not available on n8n Cloud |
| Credential-level option | Admin control + Cloud compatible | Slightly unconventional use of credentials |
Context
We operate n8n Cloud for back-office automation (CS, Finance, HR departments) and encountered this issue when evaluating Browserbase for internal workflows. We're happy to submit a PR implementing this change if the approach is acceptable.
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 2
- 平均マージ
- 2日 19時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
browserbase/n8n-node のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
browserbase/n8n-node#22 ·
browserbase/n8n-node の issue をすべて見る
似ている issue
-
status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
a2ui-project/a2ui#3158 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
hemilabs/ui-monorepo#2475 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
lingdojo/kana-dojo#32279 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
github/gh-aw-firewall#9879 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Arrow-key cursor movement in combined diff view doesn't scroll to keep the cursor visibleオープンos:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信