warrant-dev / warrant

Warrant is a highly scalable, centralized authorization service based on Google Zanzibar. Use it to define, enforce, query, and audit application authorization and access control.
https://warrant.dev
Apache License 2.0
1.12k stars 39 forks source link

Return new `relation` field in `QueryResult` JSON response #309

Closed kkajla12 closed 6 months ago

kkajla12 commented 6 months ago

Describe your changes

This PR updates the QueryResult type's new Relation attribute to be returned in the JSON API response. It also updates the query endpoint's sort functions to account for this new relation attribute.

Issue number and link (if applicable)

N/A