Skip to content

Evidence for AI operations

No English page yet. Showing the Japanese source.

Back to the entrance

ReBAC/Authorization Graph:OpenFGA・SpiceDB

用語・参照用語・参照公式仕様のみ公式仕様のみ現行現行として扱う

記事状態: 公開 · 最終確認: 2026-10-05

要点

ReBAC/Authorization Graphは、relationshipに基づくpermission decisionを中央化する仕組みであり、外部identity/session revocation、source-of-truth同期、application enforcementまで自動的に保証するものではありません。OpenFGA/SpiceDBではmodel/schema、relationship data、condition/caveat context、consistency semantics、engine/datastore versionを分離して管理し、高リスクactionでは必要なfreshnessとexecution-time recheckを明示してください。validation PASSや単一のCheck結果だけをend-to-end authorization correctnessの証明にしません。

現在の判断

  • ReBAC centralizes relationship-based authorization but does not replace identity/session revocation, resource-state validation, or application enforcement.
  • Agent/model output must not be trusted as the source of principal, tenant, resource ownership, relation or condition/caveat context. Construct authorization input from authenticated/trusted application state.
  • OpenFGA consistency is request-selectable. Latency-oriented checks may observe cached authorization state; high-risk post-write/revocation flows should deliberately request stronger freshness where required.
  • SpiceDB exposes ZedToken-based read-your-write and exact/at-least-as-fresh semantics. Exact snapshots have GC lifetime and fully-consistent checks cost latency.
  • Model/schema validation is necessary but not sufficient. Negative assertions, cross-tenant cases, revoked membership, malformed/missing condition context and migration tests are required.
  • External directory/group/OAuth state must be synchronized or checked separately. A successful graph Check does not imply that an independent OAuth grant/session remains valid.
  • Engine release, datastore, schema/model version and consistency mode belong in decision provenance for high-value actions.
  • Recent OpenFGA security and SpiceDB changelog/issue evidence shows version-bound authorization/consistency bugs exist; pin and regression-test exact deployed releases.
  • Relationship write workflows need an explicit consistency contract. Transactional outbox/reconciliation patterns can bound drift but do not make cross-system writes atomic by magic.
  • Experimental features such as OpenFGA Dynamic Conditions or SpiceDB experimental planner/FDW must not be treated as stable production guarantees without version-specific acceptance.

どこまで当てはまるか

ReBAC/Authorization Graph:OpenFGA・SpiceDB

詳しく理解する

CONSISTENCY AND REVOCATION BOUNDARY

Authorization graphのCheck結果だけで外部OAuth/session revocationやsource-of-truth同期まで証明しません。relationship write後・revocation後・高リスクactionでは、OpenFGA/SpiceDBのconsistency semanticsと外部identity/session stateを分離して扱い、必要なfreshnessとexecution-time recheckを明示します。

OPERATING CHECK

Pre-activation fixture should include: - same-tenant allow - cross-tenant deny - unknown principal/resource deny - removed relationship/revoked membership deny - write then read under required consistency - stale/old consistency token handling - missing/false condition/caveat context - malformed context - external session revoked while tuple remains => composition layer denies - policy/model/schema version change => regression suite rerun - engine timeout/error => no execution - delayed high-risk action => recheck current relationship/session/resource state - migration/reconciliation backlog observable and bounded.

利用できる条件

deployed OpenFGA/SpiceDB version; datastore/cache configuration; model/schema revision; identity/session authority; directory/group sync path; relationship writer; consistency contract per action class; enforcement gateway; condition/caveat context source; outbox/reconciliation; timeout/error policy; decision audit fields; rollback; upgrade procedure; semantic regression suite; tenant isolation; latency SLO.

セキュリティとプライバシー

Authorization graph IDs and relationship data can expose organizational structure; minimize logs and access. Record request ID, principal, tenant, action, resource, model/schema revision, engine version, consistency mode/token class and decision/error without secret-bearing context. Monitor tuple-sync lag, outbox backlog, deny/error/timeout rates and authorization latency. Maintain rollback for model/schema/engine upgrades.

実装・運用

Current desk research using official specifications/docs, security advisory, author-maintained changelog/issues, an adopter case study and a practitioner operations report. No tenant mutation.

限界と失敗条件

No live OpenFGA or SpiceDB server was started in this run. No organization directory, OAuth/session layer, tuple sync, tenant model/schema, datastore, cache, caveat/condition context, ZedToken or failure injection was tested. Practitioner/community reports are not independently reproduced. OpenFGA/SpiceDB product behavior is bounded to cited documentation/releases/issues.

確認できていること

  • ReBAC centralizes relationship-based authorization but does not replace identity/session revocation, resource-state validation, or application enforcement.

  • Agent/model output must not be trusted as the source of principal, tenant, resource ownership, relation or condition/caveat context. Construct authorization input from authenticated/trusted application state.

  • OpenFGA consistency is request-selectable. Latency-oriented checks may observe cached authorization state; high-risk post-write/revocation flows should deliberately request stronger freshness where required.

  • SpiceDB exposes ZedToken-based read-your-write and exact/at-least-as-fresh semantics. Exact snapshots have GC lifetime and fully-consistent checks cost latency.

  • Model/schema validation is necessary but not sufficient. Negative assertions, cross-tenant cases, revoked membership, malformed/missing condition context and migration tests are required.

  • External directory/group/OAuth state must be synchronized or checked separately. A successful graph Check does not imply that an independent OAuth grant/session remains valid.

  • Engine release, datastore, schema/model version and consistency mode belong in decision provenance for high-value actions.

  • Recent OpenFGA security and SpiceDB changelog/issue evidence shows version-bound authorization/consistency bugs exist; pin and regression-test exact deployed releases.

  • Relationship write workflows need an explicit consistency contract. Transactional outbox/reconciliation patterns can bound drift but do not make cross-system writes atomic by magic.

  • Experimental features such as OpenFGA Dynamic Conditions or SpiceDB experimental planner/FDW must not be treated as stable production guarantees without version-specific acceptance.

よくある失敗・反証

  • “graphにtupleがあるから現在もidentity/sessionは有効” is false across composed systems.

  • “write成功後の次Checkは常に最新” is unsafe without selected consistency semantics and version/datastore assumptions.

  • “schema/modelがcompile/validateしたから権限設計は正しい” is false; warnings, missing negative cases and business-intent mistakes remain.

  • “caveat/condition contextはAgentが生成してよい” is unsafe when that context controls authorization.

  • “cacheはperformanceだけの問題” is false for authorization freshness; OpenFGA had a patched condition-cache policy-enforcement advisory.

  • “current SpiceDB behavior can be inferred from old issue #2026” is false; the issue is historical/version-bound and closed.

  • “fully consistent should be used everywhere” is not a universal rule; it trades latency for freshness and must match action risk/SLO.

  • wrong principal/tenant/resource; model-controlled context; missing enforcement path; stale tuple; delayed group sync; OAuth/session revoked but graph unchanged; latency-oriented cached allow after revoke; missing/incorrect authorization model ID; schema/model drift; condition/caveat missing context; unexpected provisional/conditional result; write succeeds but downstream source-of-truth fails or vice versa; outbox backlog; duplicate/missing tuple write handling hides upstream state error; stale ZedToken; expired exact snapshot; engine/datastore regression; upgrade migration failure; permission test lacks negative/cross-tenant fixtures; experimental feature behavior changes; permission check timeout/error converted to allow; audit record lacks model/schema/version/consistency provenance.

  • Provider-neutral ReBAC control boundary、OpenFGA/SpiceDB consistency semantics、external-revocation boundary、version-bound counterevidenceとsafe wordingを分離した。tenant固有保証は主張しない。独立監査がlive pinned-engine fixtureまたはorganization model/schema testを要求する場合はSUPPLEMENT_ONLYへ戻す。

実務での使い方

  • deployed OpenFGA/SpiceDB version; datastore/cache configuration; model/schema revision; identity/session authority; directory/group sync path; relationship writer; consistency contract per action class; enforcement gateway; condition/caveat context source; outbox/reconciliation; timeout/error policy; decision audit fields; rollback; upgrade procedure; semantic regression suite; tenant isolation; latency SLO.

  • Authorization graph IDs and relationship data can expose organizational structure; minimize logs and access. Record request ID, principal, tenant, action, resource, model/schema revision, engine version, consistency mode/token class and decision/error without secret-bearing context. Monitor tuple-sync lag, outbox backlog, deny/error/timeout rates and authorization latency. Maintain rollback for model/schema/engine upgrades.

  • Current desk research using official specifications/docs, security advisory, author-maintained changelog/issues, an adopter case study and a practitioner operations report. No tenant mutation.

まだ確認できていないこと

  • EA-236-UNKNOWN-01

    Target engine/version/datastore/cache; organization model/schema; identity/session authority; directory/group sync; relationship writer/outbox; action-specific consistency SLO; tool gateway coverage; condition/caveat context source; audit retention; tenant residency; current incident exposure; exact upgrade path; organization acceptance.

根拠資料

この記事には、直接開ける外部出典が登録されていません。出典IDや検証情報は末尾で確認できます。

更新履歴

  1. EA-236-FIRST-20261005: canonical audit/publication binding

出典ID・検証情報・機械可読データ

根拠の種類と情報の鮮度は、ラベルとアイコンで確認できます。

記事ID
EA-236
最終確認日
2026-10-05
提供元・モデル・プラン・利用環境
—
対象地域
—
元資料の全文と収録照合記録
PUBLIC_CLAIM

ReBAC/Authorization Graphは、relationshipに基づくpermission decisionを中央化する仕組みであり、外部identity/session revocation、source-of-truth同期、application enforcementまで自動的に保証するものではありません。OpenFGA/SpiceDBではmodel/schema、relationship data、condition/caveat context、consistency semantics、engine/datastore versionを分離して管理し、高リスクactionでは必要なfreshnessとexecution-time recheckを明示してください。validation PASSや単一のCheck結果だけをend-to-end authorization correctnessの証明にしません。

FINDINGS
  • ReBAC centralizes relationship-based authorization but does not replace identity/session revocation, resource-state validation, or application enforcement.
  • Agent/model output must not be trusted as the source of principal, tenant, resource ownership, relation or condition/caveat context. Construct authorization input from authenticated/trusted application state.
  • OpenFGA consistency is request-selectable. Latency-oriented checks may observe cached authorization state; high-risk post-write/revocation flows should deliberately request stronger freshness where required.
  • SpiceDB exposes ZedToken-based read-your-write and exact/at-least-as-fresh semantics. Exact snapshots have GC lifetime and fully-consistent checks cost latency.
  • Model/schema validation is necessary but not sufficient. Negative assertions, cross-tenant cases, revoked membership, malformed/missing condition context and migration tests are required.
  • External directory/group/OAuth state must be synchronized or checked separately. A successful graph Check does not imply that an independent OAuth grant/session remains valid.
  • Engine release, datastore, schema/model version and consistency mode belong in decision provenance for high-value actions.
  • Recent OpenFGA security and SpiceDB changelog/issue evidence shows version-bound authorization/consistency bugs exist; pin and regression-test exact deployed releases.
  • Relationship write workflows need an explicit consistency contract. Transactional outbox/reconciliation patterns can bound drift but do not make cross-system writes atomic by magic.
  • Experimental features such as OpenFGA Dynamic Conditions or SpiceDB experimental planner/FDW must not be treated as stable production guarantees without version-specific acceptance.
CONSISTENCY_AND_REVOCATION_BOUNDARY

Authorization graphのCheck結果だけで外部OAuth/session revocationやsource-of-truth同期まで証明しません。relationship write後・revocation後・高リスクactionでは、OpenFGA/SpiceDBのconsistency semanticsと外部identity/session stateを分離して扱い、必要なfreshnessとexecution-time recheckを明示します。

COUNTEREVIDENCE
  • “graphにtupleがあるから現在もidentity/sessionは有効” is false across composed systems.
  • “write成功後の次Checkは常に最新” is unsafe without selected consistency semantics and version/datastore assumptions.
  • “schema/modelがcompile/validateしたから権限設計は正しい” is false; warnings, missing negative cases and business-intent mistakes remain.
  • “caveat/condition contextはAgentが生成してよい” is unsafe when that context controls authorization.
  • “cacheはperformanceだけの問題” is false for authorization freshness; OpenFGA had a patched condition-cache policy-enforcement advisory.
  • “current SpiceDB behavior can be inferred from old issue #2026” is false; the issue is historical/version-bound and closed.
  • “fully consistent should be used everywhere” is not a universal rule; it trades latency for freshness and must match action risk/SLO.
OPERATING_CHECK

Pre-activation fixture should include: - same-tenant allow - cross-tenant deny - unknown principal/resource deny - removed relationship/revoked membership deny - write then read under required consistency - stale/old consistency token handling - missing/false condition/caveat context - malformed context - external session revoked while tuple remains => composition layer denies - policy/model/schema version change => regression suite rerun - engine timeout/error => no execution - delayed high-risk action => recheck current relationship/session/resource state - migration/reconciliation backlog observable and bounded.

AVAILABILITY_GATES

deployed OpenFGA/SpiceDB version; datastore/cache configuration; model/schema revision; identity/session authority; directory/group sync path; relationship writer; consistency contract per action class; enforcement gateway; condition/caveat context source; outbox/reconciliation; timeout/error policy; decision audit fields; rollback; upgrade procedure; semantic regression suite; tenant isolation; latency SLO.

SECURITY_PRIVACY_AUDIT_COST_OPERABILITY

Authorization graph IDs and relationship data can expose organizational structure; minimize logs and access. Record request ID, principal, tenant, action, resource, model/schema revision, engine version, consistency mode/token class and decision/error without secret-bearing context. Monitor tuple-sync lag, outbox backlog, deny/error/timeout rates and authorization latency. Maintain rollback for model/schema/engine upgrades.

FAILURE_ENVELOPE

wrong principal/tenant/resource; model-controlled context; missing enforcement path; stale tuple; delayed group sync; OAuth/session revoked but graph unchanged; latency-oriented cached allow after revoke; missing/incorrect authorization model ID; schema/model drift; condition/caveat missing context; unexpected provisional/conditional result; write succeeds but downstream source-of-truth fails or vice versa; outbox backlog; duplicate/missing tuple write handling hides upstream state error; stale ZedToken; expired exact snapshot; engine/datastore regression; upgrade migration failure; permission test lacks negative/cross-tenant fixtures; experimental feature behavior changes; permission check timeout/error converted to allow; audit record lacks model/schema/version/consistency provenance.

IMPLEMENTATION_STATE

Current desk research using official specifications/docs, security advisory, author-maintained changelog/issues, an adopter case study and a practitioner operations report. No tenant mutation.

LIMITS

No live OpenFGA or SpiceDB server was started in this run. No organization directory, OAuth/session layer, tuple sync, tenant model/schema, datastore, cache, caveat/condition context, ZedToken or failure injection was tested. Practitioner/community reports are not independently reproduced. OpenFGA/SpiceDB product behavior is bounded to cited documentation/releases/issues.

SAFE_WORDING

ReBAC/Authorization Graphは、relationshipに基づくpermission decisionを中央化する仕組みであり、外部identity/session revocation、source-of-truth同期、application enforcementまで自動的に保証するものではありません。OpenFGA/SpiceDBではmodel/schema、relationship data、condition/caveat context、consistency semantics、engine/datastore versionを分離して管理し、高リスクactionでは必要なfreshnessとexecution-time recheckを明示してください。validation PASSや単一のCheck結果だけをend-to-end authorization correctnessの証明にしません。

OPEN_UNKNOWN

Target engine/version/datastore/cache; organization model/schema; identity/session authority; directory/group sync; relationship writer/outbox; action-specific consistency SLO; tool gateway coverage; condition/caveat context source; audit retention; tenant residency; current incident exposure; exact upgrade path; organization acceptance.

STOP_CONDITION

Provider-neutral ReBAC control boundary、OpenFGA/SpiceDB consistency semantics、external-revocation boundary、version-bound counterevidenceとsafe wordingを分離した。tenant固有保証は主張しない。独立監査がlive pinned-engine fixtureまたはorganization model/schema testを要求する場合はSUPPLEMENT_ONLYへ戻す。

  • EA-236-CURRENT-APPROVAL研究資料研究資料根拠の出所: AUDITED_CANONICAL_RESEARCH_PACKET

    現行本文の監査・revision対応

    裏付ける内容
    現行台帳のAUDIT_PASSと候補・revision・本文ハッシュの対応を確認しています。
    確認日
    —
    出典・実験ID
    CANDIDATE-EA236-FIRST-20261005-C2-RESCUE20261013
    検証箇所
    1KqhJtiSb2S84rWmeYVwKcT_76dBwZ_B0ZZuAWQqH0rQ · EA_REVISION_LEDGER!A39:U39 · EA-236-FIRST-20261005
    適用範囲
    —
    出典・来歴
    CURRENT_CANONICAL_APPROVAL_READBACK
    限界
    監査状態と来歴の記録です。外部根拠の最新性や本文の全主張を追加保証しません。
  • EA-236-CURRENT-BODY-READBACK実装資料実装資料根拠の出所: IMPLEMENTATION_READBACK

    現行本文の収録照合

    裏付ける内容
    公開生成入力の本文SHA-256が、監査済み候補に結び付いたハッシュと一致しています。
    確認日
    2026-10-13
    出典・実験ID
    BODY-SHA256:7331e70986664f21409acf0f7253e06cc5c24553e39f8bd08166e9cae9cf1bf2
    検証箇所
    content/staging/EA-236.md · 7331e70986664f21409acf0f7253e06cc5c24553e39f8bd08166e9cae9cf1bf2 · EA-236-FIRST-20261005
    適用範囲
    —
    出典・来歴
    CURRENT_APPROVED_BODY_HASH_MATCH
    限界
    本文の同一性の検査です。外部システムの挙動や全主張の真偽を実証したものではありません。
出典ID
CANDIDATE-EA236-FIRST-20261005-C2-RESCUE20261013, BODY-SHA256:7331e70986664f21409acf0f7253e06cc5c24553e39f8bd08166e9cae9cf1bf2
追跡中のUNKNOWN ID
EA-236-UNKNOWN-01
再確認のきっかけ
canonical revision/publication state change · body artifact hash change · source currentness change · new contradiction or implementation readback

機械検査: 通過 — Automated validation does not guarantee accuracy or authorize execution.

    同じ記事IDの機械可読データです。