The aim is to have a single library implement the common logic for interacting with openFGA instances, so that other services don't have to reimplement this over and over.
This PR adds some really minimalistic but still useful functionality. At this point the library provides:
Validation that the input configuration points to an accessible openFGA instance and that the provided storeID and authorizationModelID reference an existing authModel in an existing store.
Convenience methods for Adding, Removing, and Checking for the presence of relationship tuples.
A structure for representing Entities, Relations & Relationship Tuples
More convenience methods will be added subsequently.
Many thanks to the JAAS team for their work in canonical/jimm which serves as heavy inspiration for this library.
Description
The aim is to have a single library implement the common logic for interacting with openFGA instances, so that other services don't have to reimplement this over and over. This PR adds some really minimalistic but still useful functionality. At this point the library provides:
More convenience methods will be added subsequently.
Many thanks to the JAAS team for their work in canonical/jimm which serves as heavy inspiration for this library.
Closes CSS-4244