← Back to Pull requests

docs: define Fluid security model and resource permissions #6211

Closed
unknown closed this pull request without merging on Oct 20, 2026 06:11 UTC
View on GitHub
unknown unknown commented on Oct 16, 2026 03:14 UTC
Author

Summary

Add a security model in English and Chinese that explains who may create, configure, and consume Fluid resources. Runtime and Dataset writes remain administrator-only; consumers use provisioned PVCs, and cache-operation delegation has explicit limits.

The documents describe trusted-team, administrator-provisioned multi-tenant, self-service, and sidecar deployments. They cover credential handling, reference Dataset authorization, CSI mount boundaries, PSA behavior, and vulnerability scope, with source references and RBAC examples.

This is a documentation-only change. It does not change permissions or runtime behavior and does not close an existing issue.

Test plan

  • Check bilingual heading and table structure, identical YAML examples, inline code, relative links, and referenced source paths.

  • Parse all YAML examples and verify the admission policy binding uses Deny and the cache-operator role omits DataBackup writes.

  • Render the Helm chart locally with helmDriver=configmap and helmDriver=secret; check wildcard-free RBAC, cluster-wide Secret permissions, and both injection webhooks' failure policies and selectors.

  • Run git diff --check and check the documented claims against the latest public master.
  • No implementation or test files are added. Local checks validate documentation consistency and chart rendering; they do not validate live PSA or CSI behavior. The verification section identifies the unit, fuzz, and integration coverage still needed for the stated boundaries.

    Diff: 192 lines (+144 / -48) across 2 files Reviewer: cheyang Review duration: 5936m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.59) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.59 · 192 lines diff across 2 files
    0.59
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.315
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.059
    Real PR Conversation Timeline
    1 comments
    "Review active on #6211"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 59.1% (MEDIUM) · Higher = larger blast radius
    59.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.6% · Safe to merge
    25.6%