[DOCS-5902] createRole() ambiguity around effect of privileges in role document 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 |
|
In the reference documentation for createRole() http://docs.mongodb.org/manual/reference/method/db.createRole/#db.createRole For instance, do the privilieges in the privileges list override or add to the ones inherited from the roles list? If I leave the privileges list empty but include roles to inherit from, does the custom role get no privileges because the list is empty or all of the privileges from the inherited roles? I was left having to experiment with different the two parameters to understand the behavior. Thanks. |
| 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: |