[DOCS-5903] db.createRole() Example uses wrong format Created: 24/Jul/15 Updated: 30/Oct/23 Resolved: 25/Jul/15 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dean Johnson | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 8 years, 29 weeks, 4 days ago |
| Description |
|
The example for db.createRole() (http://docs.mongodb.org/manual/reference/method/db.createRole/#example), the write concern should be passed as a document in a separate argument not as part of the role document.
I believe should be...
|
| Comments |
| Comment by Githook User [ 25/Jul/15 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Githook User [ 25/Jul/15 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |
| Comment by Dean Johnson [ 24/Jul/15 ] |
|
Thanks for addressing! |
| Comment by Kay Kim (Inactive) [ 24/Jul/15 ] |
|
You're correct. Will correct as well as incorporate your feedback from the other createRole ticket. Thanks for taking the time to file these tickets. Regards, Kay Kim |