[SERVER-11309] checkShardingIndex auth error for user-defined role with "find" privilege Created: 22/Oct/13 Updated: 11/Jul/16 Resolved: 24/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: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Expected: A user privileged to perform the "find" action on a collection should be able to run the checkShardingIndex on that collection. Actual: An authorization error such as the one below is returned.
|
| Comments |
| Comment by auto [ 24/Oct/13 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by Andy Schwerin [ 23/Oct/13 ] |
|
The CheckShardingIndexCmd needs to override the default implementation of Command::parseNs(d, c) to return Command::parseNsFullyQualified(d, c). |