-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.4.1
-
Component/s: Admin
-
Labels:None
-
Environment:Linux
-
ALL
-
Hi,
What role is needed to show list of databases, or this is a bug?
I granted the following roles
{
"user" : "wfm_admin",
"pwd" : "28c345aae0e0c346e7f2e4a2f77d96",
"roles" : [
"readAnyDatabase",
"userAdminAnyDatabase",
"dbAdminAnyDatabase"
],
"_id" : ObjectId("51644586994702cc60d084b2")
}
But when connect as this user get the error
> show dbs
Tue Apr 9 09:46:11.399 JavaScript execution failed: listDatabases failed:
at src/mongo/shell/mongo.js:L46
Thanks,
Edouard