Removes excluded_users from the ListUsers API response. 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.
Note: This is technically a breaking but is acceptable provided that the ListUsers API is still experimental.
[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 ListUsers API response. 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-addexcluded_users
at some point in the future but may or may not be a flattened list as previously implemented.Note: This is technically a breaking but is acceptable provided that the ListUsers API is still experimental.
Review Checklist
main