You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
I am trying to specify scope = 'one' to prevent my queries from recursively searching subgroups, so I have tried using the following opts:
const opts = { scope: 'one' as const, // need to declare as const or the request fails... };
When I run getUsersForGroup with the provided opts, however, it returns the same list of users as when I don't provide these opts (all users of all subgroups, recursively searched).
I need to only retrieve the first level of users/groups for a given query, I don't want to recursively search all subgroups.
I am trying to specify
scope = 'one'to prevent my queries from recursively searching subgroups, so I have tried using the following opts:const opts = { scope: 'one' as const, // need to declare as const or the request fails... };When I run getUsersForGroup with the provided
opts, however, it returns the same list of users as when I don't provide theseopts(all users of all subgroups, recursively searched).I need to only retrieve the first level of users/groups for a given query, I don't want to recursively search all subgroups.
Can anyone help?