Azure / Azure/data-api-builder

Database Policies - Support "in" filter for OData

Open
#2,004 0 comments 0 reactions 0 assignees View on GitHub
auth
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

support db policy like
`@claims.scope contains @item.AllowedScopes` because in most access tokens `scp` (scope) claim has >1 value.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how database policies parse and evaluate OData filters, then determine how a multi-valued scp claim should interact with the requested "in" or contains behavior; done means the policy supports the stated scope check and has coverage for claims with more than one value.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, authorization, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.