-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Users.list doesn't list all users #11636
Description
I have a user called api.test:
http://localhost:3000/api/v1/users.info?username=api.test
{
"user": {
"name": "api.test",
"username": "api.test",
"status": "offline",
"utcOffset": 2,
"type": "user",
"active": true,
"emails": [
{
"address": "[email protected]",
"verified": true
}
],
"statusConnection": "offline",
"createdAt": "2018-02-05T09:17:07.622Z",
"lastLogin": "2018-07-30T08:56:40.480Z",
"services": {
"resume": {
"loginTokens": [
...
]
},
"password": {}
},
"requirePasswordChange": false,
"roles": [
"user"
],
"_id": "YJoHTEqxZJRuQnHeq"
},
"success": true
}
When I call http://localhost:3000/api/v1/users.list it returns a list but the user api.test is not there (just some other users).
I logged in via api as admin.
I can see the user in the admin UI when logged in as an admin.
There is no error shown in the log.
I don't know how to reproduce this since newly created users are always listed in the users.list call.
Maybe someone else noticed the same problem.