JS SDK v0.2.5
is out with ListRelations and better parallelization
#147
rhamzeh
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've just released
v0.2.5
of the OpenFGA JS SDKThe highlights of this release include:
WriteAuthorizationModel
BatchCheck
,ListRelations
, non-transactionalWrite
)listRelations
method for quickly checking what list of relations a user has access to on an object. This is especially helpful for cases when you are displaying a list of actions for a user to take on the UI, and want to only show the actions the user can take.For example, to show the list of actions below, GitHub might issue a request such as:
Read the
ListRelations
documentation hereA summary of the changes introduced in
v0.2.5
:listRelations
to check what relationships a user has with an objectschema_version
is now required when callingWriteAuthorizationModel
Please do let us know your feedback, especially regarding your experience with
OpenFgaClient
andlistRelations
.Beta Was this translation helpful? Give feedback.
All reactions