[SERVER-68185] Ensure view can be created on a particular tenant's collection Created: 20/Jul/22  Updated: 29/Oct/23  Resolved: 01/Aug/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-07-25, Server Serverless 2022-08-08
Participants:

 Description   

Currently, the ViewMap used by ViewsForDatabase is just a StringMap. Change this to store NamespaceString to avoid accidentally dropping the tenantId. Also write a test to ensure a view can be created on a tenant's collection.



 Comments   
Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-68185 Ensure view can be created on a particular tenant's collection
Branch: master
https://github.com/mongodb/mongo/commit/10f0e86ec3a07ef3ea2cba871bea45da0be93d80

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