[SERVER-74833] parseResourcePattern should take in DatabaseName obj Created: 14/Mar/23  Updated: 19/Jun/23  Resolved: 19/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Backlog - Security Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-74828 Ensure parseResourcePattern creates N... Closed
Assigned Teams:
Server Security
Participants:

 Description   

Today parseResourcePattern takes in a string, and we manually extract the tenantId from it in order to construct a NamespaceString object. This ticket is to change it to take in a DatabaseName obj, and remove the need to manually extract the tenantId.



 Comments   
Comment by Sara Golemon [ 19/Jun/23 ]

janna.golden@mongodb.com seems to have done this in SERVER-74828 already.

Generated at Thu Feb 08 06:28:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.