[SERVER-42522] role enableSharding can be fetched from db.getRoles(...) but missing in documentation Created: 31/Jul/19 Updated: 27/Oct/23 Resolved: 31/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 3.4.22, 3.6.12, 4.0.9, 4.1.13 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | jacky chen | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
https://docs.mongodb.com/manual/reference/built-in-roles/ https://docs.mongodb.com/manual/reference/privilege-actions/#enableSharding seems in documentation there is no role named "enableSharding" but a privilege action |
| Comments |
| Comment by Danny Hatcher (Inactive) [ 31/Jul/19 ] |
|
There are both a privilege action and a built-in role called "enableSharding". The role was created for compatibility with our other products and is not intended to be implemented by users; thus we have decided not to publicly document it. Please use the privilege action if you intend to implement it in a custom role. |