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 editorSteps to reproduce:
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
ListObjectsI. The current default experimental
ListObjectsimplementationThis 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 to3sand1000results 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.ListObjectsendpoint and replacing this one.II. The new optimized experimental
ListObjectsThis 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
experimentalsconfig.Known issues:
andandbut notare used (resolved by falling back to the non-optimized version)andandbut notin 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
ListObjectsAll reactions