Skip to content

docs: replace workflow:updateRedactionSetting with two new scopes#4637

Open
yuliia-pominchuk wants to merge 2 commits into
mainfrom
iam-511-update-redaction-scopes
Open

docs: replace workflow:updateRedactionSetting with two new scopes#4637
yuliia-pominchuk wants to merge 2 commits into
mainfrom
iam-511-update-redaction-scopes

Conversation

@yuliia-pominchuk
Copy link
Copy Markdown

Summary

Replaces the deprecated workflow:updateRedactionSetting scope with two new granular scopes: workflow:enableRedaction and workflow:disableRedaction.

@yuliia-pominchuk yuliia-pominchuk requested review from a team, BGZStephen, afitzek, cstuncsik, gthanasis and guillaumejacquart and removed request for a team May 14, 2026 16:02
@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for n8n-docs ready!

Name Link
🔨 Latest commit c3a5f23
🔍 Latest deploy log https://app.netlify.com/projects/n8n-docs/deploys/6a0c439a9e4d9600076ba4fd
😎 Deploy Preview https://deploy-preview-4637--n8n-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 14, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Architecture diagram
sequenceDiagram
    participant User as End User
    participant UI as UI
    participant API as RBAC API
    participant Auth as Authorization Check
    participant PolicyDB as Policy Store

    Note over User,PolicyDB: Custom Role Permission Scope Flow (Current State)

    User->>UI: Request to configure redaction for a workflow
    UI->>UI: Show Enable/Disable toggles
    
    alt Enable redaction
        UI->>API: PATCH /workflows/{id} with action="enableRedaction"
        API->>Auth: Check `workflow:enableRedaction` scope
        Auth->>PolicyDB: Lookup custom role permissions
        PolicyDB-->>Auth: Scope list
        alt Has `workflow:enableRedaction`
            Auth-->>API: Authorized
            API->>API: Turn on redaction
            API-->>UI: Success
        else Missing scope
            Auth-->>API: Forbidden
            API-->>UI: 403 error
        end
    else Disable redaction
        UI->>API: PATCH /workflows/{id} with action="disableRedaction"
        API->>Auth: Check `workflow:disableRedaction` scope
        Auth->>PolicyDB: Lookup custom role permissions
        PolicyDB-->>Auth: Scope list
        alt Has `workflow:disableRedaction`
            Auth-->>API: Authorized
            API->>API: Turn off redaction
            API-->>UI: Success
        else Missing scope
            Auth-->>API: Forbidden
            API-->>UI: 403 error
        end
    end

    Note over PolicyDB: Two independent scopes allow granular role assignment
    Note over UI: UI shows separate enable/disable permissions<br/>in role configuration UI
Loading

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 14, 2026

Deploying n8n-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c3a5f23
Status: ✅  Deploy successful!
Preview URL: https://d5525297.n8n-docs-d9c.pages.dev
Branch Preview URL: https://iam-511-update-redaction-sco.n8n-docs-d9c.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

No description provided.

@RoRoJ RoRoJ added author:internal Contribution from n8n staff. and removed internal-contribution labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:internal Contribution from n8n staff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants