Azure / Azure/data-api-builder

Authorization Policy vNext -> Request Policies

オープン
#570 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
auth enhancement
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

M1/1.5 met the requirement of adding support for Database Policies. This next iteration is to apply policies at the request level: policy resolution does not result in database query predicates, and instead checks the policy against claims present in the user's token and makes a allow/deny decision.

Per [RFC](https://github.com/Azure/project-hawaii/blob/main/rfcs/request-authorization.md#policy-expression-language) request policy: defines a rule that will be checked before sending any request to the database

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされた RFC のポリシー式言語のセクションから始め、issue に記載されている既存の database-policy サポートと request-policy の要件を比較します。リクエストがどのようにデータベースに到達するかを追跡し、トークンの claims が評価される場所を特定します。データベースへのリクエストの前に allow/deny の判定が行われ、クエリ述語を追加しないことが完了の条件です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
api, authorization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。