Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
Mongo ReplicaSet (Primary-Secondary and Arbiter) in Debian 8 64 bits
*Location*: https://docs.mongodb.org/v3.0/reference/method/db.updateUser/
*User-Agent*: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
*Referrer*: https://www.google.es/
*Screen Resolution*: 1366 x 768
*repo*: docs
*source*: reference/method/db.updateUser
Mongo ReplicaSet (Primary-Secondary and Arbiter) in Debian 8 64 bits *Location*: https://docs.mongodb.org/v3.0/reference/method/db.updateUser/ *User-Agent*: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36 *Referrer*: https://www.google.es/ *Screen Resolution*: 1366 x 768 *repo*: docs *source*: reference/method/db.updateUser
Description
It doesn't work in Mongo 3.0.7. Obtaining the following error message:
abc:PRIMARY> db.grantRolesToUser( "user123", [
{ role: "read", db: "datadb" } ] )
2015-12-17T17:25:46.690+0100 E QUERY Error: Could not find user user123@admin
at Error (<anonymous>)
at DB.grantRolesToUser (src/mongo/shell/db.js:1298:15)
at (shell):1:4 at src/mongo/shell/db.js:1298