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

Add policy support to query endpoint #315

Closed kkajla12 closed 5 months ago

kkajla12 commented 5 months ago

Describe your changes

This PR adds policy support to the query endpoint. The endpoint now accepts an optional context parameter which can contain a URL encoded JSON object containing various context to respect during the evaluation of the query.

Issue number and link (if applicable)

Closes #314