Skip to content

Releases: openfga/js-sdk

v0.0.2

16 Aug 18:01
v0.0.2
53c5348
Compare
Choose a tag to compare

0.0.2 (2022-08-15)

Support for ListObjects API

You call the API and receive the list of object ids from a particular type that the user has a certain relation with.

For example, to find the list of documents that Anne can read:

const response = await openFgaApi.listObjects({
 user: "anne",
 relation: "can_read",
 type: "document"
});

// response.object_ids = ["roadmap"]

v0.0.1

15 Jun 18:36
v0.0.1
5666cac
Compare
Choose a tag to compare

0.0.1 (2022-06-15)

Initial OpenFGA JS SDK release

  • Support for OpenFGA API
    • CRUD stores
    • Create, read & list authorization models
    • Writing and Reading Tuples
    • Checking authorization
    • Understanding how access is granted via Expand