A user with read only access can clone the repository, and hence can read all commits and get information about the authors.
The 2.0 rest apis are sending the entire commit history and that includes the author information.
The logged in user with read only access can fetch the user information for any user with key of that user.
It's super weird that a user with read only access can fetch every possible data but not the list of members? Is there some logic behind this?
How can a user with read only access fetch the list of members for a repository via 2.0 REST api?
Is this behaviour documented somewhere? I have been reading the API docs for a few days now but unable to find anything on this.