[SERVER-8597] Authenticating as a user that has a non-existent role prevents acquiring any privileges, even if that user has other valid roles Created: 15/Feb/13 Updated: 11/Jul/16 Resolved: 16/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
You should still be able to authenticate to a user with an invalid role (could be important for future upgrade paths to a version with more, or user-defined, roles). We should just skip the invalid role and continue acquiring privileges for any other valid roles in that user's privilege document. |
| Comments |
| Comment by auto [ 16/Feb/13 ] |
|
Author: {u'date': u'2013-02-16T02:28:31Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by auto [ 16/Feb/13 ] |
|
Author: {u'date': u'2013-02-15T23:34:47Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |