ロールと工場スコープの判定

ロールと工場スコープの判定 An architecture diagram generated by Archify. 画面または API の要求 · Architecture component 画面または API の要求 tenant_id と tenant_type が解決できる? · Architecture component tenant_id と tenant_type が解決できる? 拒否・空結果 · Architecture component 拒否・空結果 対象行は自テナント? · Architecture component 対象行は自テナント? 拒否 · Architecture component 拒否 機能が許すロール? · Architecture component 機能が許すロール? 拒否 · Architecture component 拒否 工場スコープが必要? · Architecture component 工場スコープが必要? profile または所属工場が一致? · Architecture component profile または所属工場が一致? 拒否・対象外として表示 · Architecture component 拒否・対象外として表示 RLS / API の最終判定 · Architecture component RLS / API の最終判定 拒否 · Architecture component 拒否 自テナント・許可範囲だけ返す · Architecture component 自テナント・許可範囲だけ返す いいえ はい いいえ はい いいえ はい いいえ はい いいえ はい 条件を満たす 条件を満たさない

元図

  • • docs/features/auth-permissions.md「ロールと工場スコープの判定」(Mermaid flowchart・13 ノード・13 辺)