[DOCS-3810] Comment on: "manual/reference/method/db.createUser.txt" Created: 24/Jul/14 Updated: 08/Dec/16 Resolved: 31/Jul/14 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | v1.3.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Kay Kim (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: http://docs.mongodb.org/manual/reference/method/db.createUser/#db.createUser |
||
| Participants: | |
| Days since reply: | 9 years, 28 weeks, 6 days ago |
| Description |
|
In the roles section of what fields are required. It doesn't mention that the roles are optional. On the db.createRole page it says "You must specify the privileges field. Use an empty array to specify no privileges." in the privileges field, the roles field should say something similar. I had to create a user with no roles then grant them later on in the script but I had to initially guess that mongodb wouldnt error when I tried to create a user without roles. |
| Comments |
| Comment by Githook User [ 31/Jul/14 ] |
|
Author: {u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}Message: |