This feature was originally a well-intentioned way to communicate any negations that may exist on public-typed wildcard (e.g. user:*) as a means of being abundantly clear about what a user:* result entails. However, as we discover more possible situations where excluded users could arise, we realize that we were making a premature decision about the API. We fully intend to re-add excluded_users at some point in the future but may or may not be a flattened list as previously implemented.
Please note:
This is technically a breaking but is acceptable provided that the ListUsers API is still experimental
The API commit this PR is based off of is not merged into main yet
[x] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[x] The correct base branch is being used, if not main
[x] I have added tests to validate that the change in functionality is working as expected
Description
Removes
excluded_users
from the response of all SDKs as it was removed from OpenFGA with https://github.com/openfga/api/pull/171.This feature was originally a well-intentioned way to communicate any negations that may exist on public-typed wildcard (e.g.
user:*
) as a means of being abundantly clear about what auser:*
result entails. However, as we discover more possible situations where excluded users could arise, we realize that we were making a premature decision about the API. We fully intend to re-add excluded_users at some point in the future but may or may not be a flattened list as previously implemented.Please note:
main
yetReferences
Review Checklist
main