[SERVER-11027] not authorized to execute repairDatabase for user with role clusterAdmin Created: 03/Oct/13 Updated: 11/Jul/16 Resolved: 25/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: | 1) run mongod with --auth
4)
5) use test
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Expected: A user with the clusterAdmin role should be authorized to run the repairDatabase command. Actual: Attempting to run repairDatabase on either the admin database or a non-admin database gives an authorization error, even when the user has the clusterAdmin role:
|
| Comments |
| Comment by auto [ 25/Oct/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |