[SERVER-76294] Remove DatabaseName::createDatabaseNameForAuth Created: 19/Apr/23 Updated: 29/Oct/23 Resolved: 02/Aug/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Gabriel Marks |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Server Security
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Security 2023-07-24, Security 2023-08-07 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Once the ResourcePattern and ParsedPrivilege APIs handle tenantIds, change any remaining call sites to DatabaseName::createDatabaseNameForAuth to call the appropriate method on DatabaseNameUtil to construct DatabaseName instead. Then, remove DatabaseName::createDatabaseNameForAuth, as it skips validation that tenantIds exist when they should. |
| Comments |
| Comment by Githook User [ 03/Aug/23 ] |
|
Author: {'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}Message: |
| Comment by Githook User [ 02/Aug/23 ] |
|
Author: {'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}Message: |