canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
6 stars 4 forks source link

(ReBAC library) Add main types #196

Closed babakks closed 6 months ago

babakks commented 6 months ago

This PR adds the main types of the library (e.g., params, constructor, some abstractions) and also creates HTTP handlers. A few tests are added to verify it works fine with both Golang standard HTTP multiplexer and Chi Mux.

This PR is based on the other branch (pushed in #194). That's why you see a lot of changes, but once the other PR lands, this one will shrink.

Fixes CSS-7249

babakks commented 6 months ago

Changed the pointer field to value type, and rebased on top of my other branch. @shipperizer