Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
Description
In createUser doc we are missing an example where we show how to create an user with specific role on only one collection:
db.createUser({user: "foo",pwd:"foo",roles:[{role: "readWrite",db: "test",collection: "coll"}]}) |
We also should document that the role subdocument can contain the field collection