[DOCS-1153] Add an example to db.addUser() Created: 22/Feb/13  Updated: 25/Mar/13  Resolved: 25/Mar/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: mongodb-2.4

Type: Task Priority: Major - P3
Reporter: Bob Grabar Assignee: Bob Grabar
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 47 weeks, 5 days ago

 Description   

Add an example to this api page:
source/reference/method/db.addUser.txt

The page does not make clear that in order to set up a read-only user you must pass the readOnly argument as a document.



 Comments   
Comment by auto [ 22/Mar/13 ]

Author:

{u'date': u'2013-03-22T22:23:20Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1153 edits to addUser document
Branch: master
https://github.com/mongodb/docs/commit/49edb6f2c36d64e37ebfaf4eb1b4c880ca32fa15

Comment by auto [ 22/Mar/13 ]

Author:

{u'date': u'2013-03-05T16:57:10Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}

Message: DOCS-1153 adduser

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/96e350d574df3d0252f2e7489dbbea70aee8b6fa

Comment by Sam Kleinman (Inactive) [ 25/Feb/13 ]

we'll need to update this for new 2.4 style privilege documents

Comment by auto [ 22/Feb/13 ]

Author:

{u'date': u'2013-02-22T22:24:53Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}

Message: DOCS-1153 add an example to db.addUser()
Branch: master
https://github.com/mongodb/docs/commit/2c4a1a90720994517e7ecc2d16f70139c8357a5e

Generated at Thu Feb 08 07:40:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.