As a developer using the groups REST API I want GROUP_EVERYONE to be returned as part of the results.
- The GET /groups endpoint returns the GROUP_EVERYONE entry in the appropriate place in the result set (according to sorting options)
The inconsistent handling of GROUP_EVERYONE across the endpoints is caused by the AuthorityService, in some places it returns the "well known" everyone group and some places it doesn't. The ideal solution would be to fix up the AuthorityService to consistently handle GROUP_EVERYONE so that users of the service do not have to manually handle it.
We have some customers with large numbers of users and groups so we need to avoid in-memory sorting/paging where at all possible.