Show "empty" databases with users only
When I switch to a new database and create a user on it (using Intellishell), the database doesn't show on the left panel because it's kind of "empty" even if it's not.
So if I :
use testdb;
db.createUser({"user":"test","pwd":"testtest","roles":[]});
and then :
use testdb;
db.getUsers();
I do have my user, but I cannot use MongoChef integrated users management to manage my newly created user.
Additionally, in the "Users" button (and menu) is only available when a database is selected >> this means we can't create users for new (empty) database using anything else than the console.
Thanks !
![](https://secure.gravatar.com/avatar/d50ad8b76b9c55c36fc9a3b5e06063e3?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Anonymous commented
(Of course, the empty database does not exists, but still, it is listed in the admin.system.users collection, and this could be a way to grab the info)