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

Add wookie functionality #224

Closed stanleyphu closed 1 year ago

stanleyphu commented 1 year ago

Describe your changes

This PR adds support for wookie functionality - creating and deleting wookies, a wookie middleware, fetching and adding wookies to context. There is now a ObjectType Service interface, which allows for other services depending on it to accept different implementations of the ObjectType Service, e.g. WarrantService and CheckService.