[SERVER-13727] The "backup" auth role should allow running the "collstats" command Created: 24/Apr/14 Updated: 11/Jul/16 Resolved: 28/Apr/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.6.0 |
| Fix Version/s: | 2.6.2, 2.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Steve Briskin (Inactive) | Assignee: | Amalia Hawkins |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Completed: | |||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The backup agent needs ability to run "collstats". The current "backup" role does not grant this entitlement. |
| Comments |
| Comment by Githook User [ 15/May/14 ] |
|
Author: {u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}Message: |
| Comment by Githook User [ 28/Apr/14 ] |
|
Author: {u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}Message: |
| Comment by Spencer Brody (Inactive) [ 25/Apr/14 ] |
|
A workaround is to create a new user defined role on the admin database and grant it the existing backup role plus "collStats" on all collections in all dbs. |