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 !
-
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)