Azure / Azure/data-api-builder
Authorization Policy vNext -> Nested Table References
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 370
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 9
説明
To further enhance the authorization policy capability, add the ability to map to nested tables/columns. For example:
- Database Policy: Entity (book) `"New Starch Press" eq @item().publisher_id.name`
Because the policy is applied to the book entity, the nested policy will search the Publishers table using publisher_id to acquire the record where name column is "New Starch Press"
Nesting will apply to the `@item` "Policy Expression System Object" described in the [request authorization RFC](https://github.com/Azure/project-hawaii/blob/main/rfcs/request-authorization.md#policy-expression-system-objects).
コントリビューションガイド
調査の方向性
まず、Policy Expression System Objects に関する request authorization RFC のセクションを読み、その後、現在の authorization policy が @item 参照をどのように評価するかを追跡してください。例に示されているネストされたテーブルおよびカラムの検索動作を定義してください。これには、関連するレコードの選択方法と、サポートされている API パス全体で完了をどのように検証するかを含めます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- api, authorization, databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100