[SERVER-71147] Filter $listCatalog and $_internalAllCollectionStats by tenant Created: 07/Nov/22 Updated: 18/Oct/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Janna Golden | Assignee: | Backlog - Service Architecture |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Service Arch
|
| Participants: |
| Description |
|
These agg stages return info about collections/views/etc. - when multitenanySupport and featureFlagRequireTenantId are enabled, if the agg request was sent with a tenantId, we should only return entries that belong to that tenant. If the agg request was sent without a tenantId, and the user is a root or __system user, it is okay to return all entries. |