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.15k stars 43 forks source link

Check warrant filters for nil subject #189

Closed stanleyphu closed 1 year ago

stanleyphu commented 1 year ago

Describe your changes

This PR updates the list warrants database queries to check for a nil subject in the filter options to avoid a nil reference error when filters are passed without a subject.