Skip to content

In multi-query documents, trigger authorization rules on targeted queries only #5

@ProudOne

Description

@ProudOne

Currently, if being invoked on an input document with multiple named queries, auth validation walks the entire document. This leads to the request being rejected if any of the queries in the document fail authorization even if the failing queries are not requested.

The entire document will be traversed here: Line 59 in DocumentValidator.cs
This should be changed to only walk the selected query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions