Replies: 1 comment
-
Optimized ListObjects does not evaluate rewrites on usersets(reported by Fede on Discord) Given the following schema model
schema 1.1
type team
relations
define admin: [user]
define member: [user,team#member] or admin
type trial
relations
define editor: [user,team#member] or owner
define owner: [user]
define viewer: [user,team#member] or editor Steps to reproduce:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This issue thread is to summarize and provide the community a single place to collect issues & feedback they find with the new Experimental
ListObjects
, which we can then turn into issues on the openfga/openfga repo as the team verifies them and works through them.ListObjects
We do have multiple issues with
ListObjects
I. The current default experimental
ListObjects
implementationThis version just calls check in parallel underneath the hood, it was rolled out so that the community can provide feedback on the API while we work on a proper scalable version.
Known issues:
listObjectsDeadline
) and amount (config:listObjectsMaxResults
). For OpenFGA they default to3s
and1000
results respectively. If any of these are hit, OpenFGA will return the results it has found so far and close the connection. You can try increasing these values if you are not getting all the results.ListObjects
endpoint and replacing this one.II. The new optimized experimental
ListObjects
This version aims to solve the scaling issues of the initial version and should return more complete results much faster than the initial version, but requires schema 1.1 and is turned off by default unless you turn it on via the
experimentals
config.Known issues:
and
andbut not
are used (resolved by falling back to the non-optimized version)and
andbut not
in the optimized version (drastically increasing latency and open DB threads when they are present)*
,user:*
, etc..) (may be fixed by: fix: add typed wildcard support to ListObjects openfga#444)Configuration
ListObjects
Beta Was this translation helpful? Give feedback.
All reactions