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 `RecordNotFoundError` from object type map #217

Closed kkajla12 closed 1 year ago

kkajla12 commented 1 year ago

Describe your changes

This PR updates the object type map lookup to return a record not found error if the requested object type is not found in the map.

Issue number and link (if applicable)

N/A