[SERVER-76984] Remove check for !_isInternalClient() in service entry point Created: 10/May/23 Updated: 15/Jan/24 Resolved: 11/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.6 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Allison Easton | Assignee: | Allison Easton |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v7.0
|
||||
| Sprint: | Sharding EMEA 2023-05-15 | ||||
| Participants: | |||||
| Description |
|
The check for !_isInternalClient() is redundant because of the checks for authentication that we are doing. Internal clients will be authorized with as __system, which will always have the direct shard operations action type. |
| Comments |
| Comment by Githook User [ 15/Jan/24 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message:
GitOrigin-RevId: 465e71da0a3b8b5bc4b16ffd3e2c1ed1a70e2bbc |
| Comment by Githook User [ 11/May/23 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |